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:
+11
-9
@@ -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'
|
||||
}
|
||||
}]
|
||||
]
|
||||
],
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user