babel-preset-meze
v1.0.13
Published
Babel preset for all Meze plugins.
Downloads
5
Readme
babel-preset-meze
Babel preset for all Meze plugins.
As of the time of writing this README there is actually only one Meze plugin which is needed for Babel integration, but in case that changes, we recommend consuming this module in the first place, instead of using the transform plugin directly.
Install
$ npm install --save-dev babel-preset-meze
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["meze"]
}
Via CLI
$ babel script.js --presets meze
Via Node API
require("babel-core").transform("code", {
presets: ["meze"]
});