The babel preset used by the Kibana project


200.1.05 years ago5 years agoMinified + gzip package size for @elastic/babel-preset-kibana in KB



The babel settings that Kibana uses.


This modules is installed using npm:

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


Rather than export a single preset this module contains two:


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.


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.


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

  "presets": [

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.