Skip to content

Commit 183a3ac

Browse files
authored
Merge pull request #6 from Oda2/master
Correção da importação dinâmica
2 parents c29ec72 + 1fa0d23 commit 183a3ac

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

packages/react-dependency-scripts/configs/babelConfig.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
'use strict';
22

33
const babelConfigs = {
4-
presets: ['@babel/preset-react', '@babel/preset-env'],
4+
presets: [
5+
'@babel/preset-react',
6+
[
7+
'@babel/preset-env',
8+
{
9+
exclude: ['proposal-dynamic-import']
10+
}
11+
]
12+
],
513
plugins: [
614
'@babel/plugin-proposal-class-properties',
715
'@babel/proposal-object-rest-spread',

0 commit comments

Comments
 (0)