use babel-preset-env
This commit is contained in:
parent
cf1fb6cd4d
commit
e97dbf6115
4 changed files with 126 additions and 138 deletions
5
.babelrc
5
.babelrc
|
|
@ -1,5 +1,8 @@
|
|||
{
|
||||
"presets": ["es2015", "stage-2"],
|
||||
"presets": [
|
||||
["env", { "modules": false }],
|
||||
"stage-2"
|
||||
],
|
||||
"plugins": ["transform-runtime"],
|
||||
"comments": false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue