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

View File

@ -8,6 +8,12 @@
"src/node/index.js", "src/node/index.js",
"src/standalone/index.js" "src/standalone/index.js"
], ],
"plugins": [
["@babel/plugin-transform-runtime", {
"corejs": 2,
"useESModules": true
}]
],
"presets": [ "presets": [
["@babel/env", { ["@babel/env", {
"modules": false, "modules": false,
@ -17,14 +23,16 @@
}, },
"node": { "node": {
"ignore": ["src/browser.js"], "ignore": ["src/browser.js"],
"plugins": [
["@babel/plugin-transform-runtime", {
"corejs": 2
}]
],
"presets": [ "presets": [
["@babel/env", { ["@babel/env", {
"targets": {"node": "8.11.3"} "targets": {"node": "8.11.3"}
}] }]
] ]
} }
}, }
"plugins": [
"@babel/plugin-transform-runtime"
]
} }