corejs2 per @babel/plugin-transform-runtime@7.0.0-rc.1
This commit is contained in:
parent
d828058fc4
commit
f654576498
16
.babelrc
16
.babelrc
|
@ -8,6 +8,12 @@
|
|||
"src/node/index.js",
|
||||
"src/standalone/index.js"
|
||||
],
|
||||
"plugins": [
|
||||
["@babel/plugin-transform-runtime", {
|
||||
"corejs": 2,
|
||||
"useESModules": true
|
||||
}]
|
||||
],
|
||||
"presets": [
|
||||
["@babel/env", {
|
||||
"modules": false,
|
||||
|
@ -17,14 +23,16 @@
|
|||
},
|
||||
"node": {
|
||||
"ignore": ["src/browser.js"],
|
||||
"plugins": [
|
||||
["@babel/plugin-transform-runtime", {
|
||||
"corejs": 2
|
||||
}]
|
||||
],
|
||||
"presets": [
|
||||
["@babel/env", {
|
||||
"targets": {"node": "8.11.3"}
|
||||
}]
|
||||
]
|
||||
}
|
||||
},
|
||||
"plugins": [
|
||||
"@babel/plugin-transform-runtime"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue