babel-preset-sxt-engine v2.0.0
Collection of Babel presets and plugins for all the development environments
Installation
You'll install babel-preset-sxt-engine
:
$ npm install babel-preset-sxt-engine --save-dev
Usage
Add sxt-engine
to the plugins section of your .babelrc
configuration file. You can omit the babel-preset-
prefix:
For Nodejs
For flowjs
For React with transform-runtime
For Webpack with React & transform-runtime & enabled the Tree shaking
For Webpack & transform-runtime & enabled the Tree shaking