1.0.13 • Published 9 years ago
babel-preset-meze v1.0.13
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-mezeUsage
Via .babelrc (Recommended)
.babelrc
{
"presets": ["meze"]
}Via CLI
$ babel script.js --presets meze Via Node API
require("babel-core").transform("code", {
presets: ["meze"]
});