Change babel targets
parent
e363e4e90f
commit
9e898d5bb5
|
@ -1,3 +1,15 @@
|
||||||
const babelConfig = require('@nextcloud/babel-config')
|
module.exports = {
|
||||||
|
plugins: [
|
||||||
module.exports = babelConfig
|
'@babel/plugin-syntax-dynamic-import',
|
||||||
|
],
|
||||||
|
presets: [
|
||||||
|
[
|
||||||
|
'@babel/preset-env',
|
||||||
|
{
|
||||||
|
"targets": "> 5%, not dead",
|
||||||
|
useBuiltIns: false,
|
||||||
|
modules: 'auto',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
],
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue