Skip to content

Commit a2737e0

Browse files
authored
[cfg] remove implicit preset-react
Must be added explicitly with `cfg.webpack.module.rules[0].use.presets.push('@babel/preset-react')`
1 parent 05f07b4 commit a2737e0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/index.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,7 @@ cfg.webpack = {
6969
browsers: ['last 2 versions', 'safari >= 7', 'IE >= 11']
7070
},
7171
},
72-
],
73-
'@babel/preset-react',
72+
]
7473
],
7574
plugins: [
7675
'@babel/plugin-transform-runtime',

0 commit comments

Comments
 (0)