File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ module.exports = {
4343 // This means they will be the "root" imports that are included in JS bundle.
4444 // The first two entry points enable "hot" CSS and auto-refreshes for JS.
4545 entry : [
46+ // We ship a few polyfills by default:
47+ require . resolve ( './polyfills' ) ,
4648 // Include an alternative client for WebpackDevServer. A client's job is to
4749 // connect to WebpackDevServer by a socket and get notified about changes.
4850 // When you save a file, the client will either apply hot updates (in case
@@ -54,8 +56,6 @@ module.exports = {
5456 // require.resolve('webpack-dev-server/client') + '?/',
5557 // require.resolve('webpack/hot/dev-server'),
5658 require . resolve ( 'react-dev-utils/webpackHotDevClient' ) ,
57- // We ship a few polyfills by default:
58- require . resolve ( './polyfills' ) ,
5959 // Finally, this is your app's code:
6060 paths . appIndexJs ,
6161 // We include the app code last so that if there is a runtime error during
You can’t perform that action at this time.
0 commit comments