mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
Add support for dynamic imports (#43716)
This commit is contained in:
parent
e568c3dfde
commit
c2ef2c8f51
2 changed files with 5 additions and 1 deletions
|
@ -5,8 +5,9 @@
|
|||
"license": "Apache-2.0",
|
||||
"dependencies": {
|
||||
"@babel/plugin-proposal-class-properties": "7.4.4",
|
||||
"@babel/preset-react":"7.0.0",
|
||||
"@babel/plugin-syntax-dynamic-import": "^7.2.0",
|
||||
"@babel/preset-env": "7.4.5",
|
||||
"@babel/preset-react": "7.0.0",
|
||||
"@babel/preset-typescript": "7.3.3",
|
||||
"@kbn/elastic-idx": "1.0.0",
|
||||
"babel-plugin-add-module-exports": "1.0.2",
|
||||
|
|
|
@ -29,6 +29,9 @@ module.exports = () => {
|
|||
},
|
||||
],
|
||||
require('./common_preset'),
|
||||
],
|
||||
plugins: [
|
||||
'@babel/plugin-syntax-dynamic-import'
|
||||
]
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue