babel-preset-lux
v2.0.2
Published
A babel preset containing all of the plugins required by Lux.
Downloads
42
Readme
babel-preset-lux
A babel preset containing all of the plugins required by Lux.
Install
npm install --save-dev babel-preset-lux
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["lux"]
}
Via CLI
babel script.js --presets lux
Via Node API
require('babel-core').transform('code', {
presets: ['lux']
});