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.
1 parent 0508303 commit 18045c0Copy full SHA for 18045c0
packages/react-scripts/config/webpack.config.js
@@ -49,6 +49,9 @@ const reactRefreshWebpackPluginRuntimeEntry = require.resolve(
49
'@pmmmwh/react-refresh-webpack-plugin'
50
);
51
const babelRuntimeEntry = require.resolve('babel-preset-react-app');
52
+const babelRuntimeEntryHelpers = require.resolve(
53
+ '@babel/runtime/helpers/esm/assertThisInitialized'
54
+);
55
56
// Some apps do not need the benefits of saving a web request, so not inlining the chunk
57
// makes for a smoother build process.
@@ -340,6 +343,7 @@ module.exports = function (webpackEnv) {
340
343
reactRefreshWebpackPluginRuntimeEntry,
341
344
reactRefreshOverlayEntry,
342
345
babelRuntimeEntry,
346
+ babelRuntimeEntryHelpers,
347
]),
348
],
349
},
0 commit comments