corejs2 per @babel/plugin-transform-runtime@7.0.0-rc.1

This commit is contained in:
Michael Bradley, Jr 2018-08-12 20:11:54 -05:00
parent d828058fc4
commit f654576498
1 changed files with 12 additions and 4 deletions

View File

@ -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"
]
}
}