preset-preset123
v7.10.1
Published
Babel preset for ES2015+ features supported by Meteor
Downloads
1
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"]
});