mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
This commit is contained in:
parent
afae45b05f
commit
b59cb2d881
2 changed files with 6 additions and 2 deletions
|
@ -6,6 +6,7 @@
|
|||
"dependencies": {
|
||||
"@babel/plugin-proposal-class-properties": "^7.5.1",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||
"@babel/plugin-transform-modules-commonjs": "^7.5.0",
|
||||
"@babel/preset-env": "^7.5.5",
|
||||
"@babel/preset-react":"^7.0.0",
|
||||
"@babel/preset-typescript": "^7.3.3",
|
||||
|
|
|
@ -24,12 +24,15 @@ module.exports = () => {
|
|||
require.resolve('@babel/preset-env'),
|
||||
{
|
||||
useBuiltIns: 'entry',
|
||||
modules: 'cjs',
|
||||
modules: false,
|
||||
corejs: 3,
|
||||
},
|
||||
],
|
||||
require('./common_preset'),
|
||||
],
|
||||
plugins: [require.resolve('@babel/plugin-syntax-dynamic-import')],
|
||||
plugins: [
|
||||
require.resolve('@babel/plugin-transform-modules-commonjs'),
|
||||
require.resolve('@babel/plugin-syntax-dynamic-import'),
|
||||
]
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue