Can any body hint me how to enable on Meter 1.4 ES7 features (babel-preset-stage-0). I’ve tried a few approaches but wasn’t success of any of them.
What have you tried so far? Have you tried:
meteor npm install --save-dev babel-preset-stage-0
- Creating a
.babelrc
file with something like:
{
"presets": [
"stage-0"
]
}
Yeaah! Thank you. I’ve tried the same approach, but without meteor when installed this preset. It’s weird, but anyway it helped me. Once again thanks
Recently, I think that Meteor has added the ability to add a .babelrc
parralel to your .meteor
folder
They also have their own preset: meteor
. So do the following.
$ meteor npm install --save-dev babel-preset-meteor babel-preset-stage-0
Then create your .babelrc
{
"presets": ["meteor", "stage-0"]
}