We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e190c78 commit 9c6772fCopy full SHA for 9c6772f
src/main/frontend/babel.config.js
@@ -0,0 +1,3 @@
1
+module.exports = {
2
+ presets: [ "@babel/preset-react", "@babel/preset-env" ]
3
+};
src/main/frontend/webpack.config.js
@@ -24,10 +24,8 @@ module.exports = {
24
test: /\.js$/,
25
exclude: /node_modules/,
26
use: {
27
- loader: 'babel-loader',
28
- options: {
29
- presets: [ "@babel/preset-react", "@babel/preset-env" ]
30
- }
+ // See also the configuration in babel.config.js
+ loader: 'babel-loader'
31
}
32
33
]
0 commit comments