File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ module.exports = {
6767 // The first two entry points enable "hot" CSS and auto-refreshes for JS.
6868 entry : {
6969 [ mainEntry ] : [
70- // Include an alternative client for WebpackDevServer. A client's job is to
70+ // We ship a few polyfills by default:
71+ require . resolve ( './polyfills' ) , // Include an alternative client for WebpackDevServer. A client's job is to
7172 // connect to WebpackDevServer by a socket and get notified about changes.
7273 // When you save a file, the client will either apply hot updates (in case
7374 // of CSS changes), or refresh the page (in case of JS changes). When you
@@ -78,10 +79,6 @@ module.exports = {
7879 // require.resolve('webpack-dev-server/client') + '?/',
7980 // require.resolve('webpack/hot/dev-server'),
8081 require . resolve ( 'react-dev-utils/webpackHotDevClient' ) ,
81- // We ship a few polyfills by default:
82- require . resolve ( './polyfills' ) ,
83- // Errors should be considered fatal in development
84- require . resolve ( 'react-error-overlay' ) ,
8582 // Finally, this is your app's code:
8683 paths . appIndexJs ,
8784 // 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