babel-preset-meteor
v8.0.3
Published
Babel preset for ES2015+ features supported by Meteor
Downloads
15,371
Maintainers
Keywords
Readme
babel-preset-meteor
Babel preset for all Meteor plugins.
Install
$ npm install --save-dev babel-preset-meteor
Updating dependency versions
$ cd path/to/babel-preset-meteor
$ npm run update-versions
Usage
Via .babelrc
(Recommended)
.babelrc
{
"presets": ["meteor"]
}
Via CLI
$ babel script.js --presets meteor
Via Node API
require("babel-core").transform("code", {
presets: ["meteor"]
});