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