Nomad Packaging Mechanism
Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

@elastic/babel-preset-kibana

0.1.0 • Public • Published

@elastic/babel-preset-kibana

The babel settings that Kibana uses.

install

This modules is installed using npm:

npm install --save-dev @elastic/babel-preset-kibana

usage

Rather than export a single preset this module contains two:

@elastic/babel-preset-kibana/node

These presets are used in the Kibana server and for all code running on node.js. Today the only real difference is the removal of the react presets.

@elastic/babel-preset-kibana/webpac

These are the presets we use for building front-end code in Kibana. They include the plugins necessary to use React as features back to stage1.

.babelrc

To use either of these presets add them to your .babelrc file in the "presets" list

{
  "presets": [
    "@elastic/babel-preset-kibana/node"
  ]
}

Keywords

none

install

npm i @elastic/babel-preset-kibana

Downloadsweekly downloads

2

version

0.1.0

license

Apache-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar
  • avatar