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 @@ -42,6 +42,8 @@ module.exports = {
4242 // This means they will be the "root" imports that are included in JS bundle.
4343 // The first two entry points enable "hot" CSS and auto-refreshes for JS.
4444 entry : [
45+ // We ship a few polyfills by default:
46+ require . resolve ( './polyfills' ) ,
4547 // Include an alternative client for WebpackDevServer. A client's job is to
4648 // connect to WebpackDevServer by a socket and get notified about changes.
4749 // When you save a file, the client will either apply hot updates (in case
@@ -53,8 +55,6 @@ module.exports = {
5355 // require.resolve('webpack-dev-server/client') + '?/',
5456 // require.resolve('webpack/hot/dev-server'),
5557 require . resolve ( 'react-dev-utils/webpackHotDevClient' ) ,
56- // We ship a few polyfills by default:
57- require . resolve ( './polyfills' ) ,
5858 // Finally, this is your app's code:
5959 paths . appIndexJs ,
6060 // 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