We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
React is not defined
1 parent 7e48117 commit 027b03bCopy full SHA for 027b03b
packages/react-scripts/config/webpack.config.js
@@ -406,9 +406,6 @@ module.exports = function (webpackEnv) {
406
customize: require.resolve(
407
'babel-preset-react-app/webpack-overrides'
408
),
409
- // @remove-on-eject-begin
410
- babelrc: false,
411
- configFile: false,
412
presets: [
413
[
414
require.resolve('babel-preset-react-app'),
@@ -417,6 +414,9 @@ module.exports = function (webpackEnv) {
417
},
418
415
],
419
416
+ // @remove-on-eject-begin
+ babelrc: false,
+ configFile: false,
420
// Make sure we have a unique cache identifier, erring on the
421
// side of caution.
422
// We remove this when the user ejects because the default
0 commit comments