2
0
mirror of https://github.com/tenrok/vue-meta.git synced 2026-06-09 01:52:25 +03:00

fix: babel config for rollup

This commit is contained in:
pimlie
2019-07-26 17:32:31 +02:00
parent 8e15fdb8b1
commit 71b2d52aef
2 changed files with 26 additions and 21 deletions
+11 -9
View File
@@ -1,15 +1,17 @@
module.exports = {
"plugins": ["@babel/plugin-syntax-dynamic-import"],
"env": {
"test": {
"plugins": ["dynamic-import-node"],
"presets": [
[ "@babel/env", {
env: {
test: {
plugins: [
'@babel/plugin-syntax-dynamic-import',
'dynamic-import-node'
],
presets: [
[ '@babel/preset-env', {
targets: {
node: "current"
node: 'current'
}
}]
]
],
}
},
}
}