File tree 1 file changed +2
-5
lines changed
packages/react-scripts/config
1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,8 @@ module.exports = {
67
67
// The first two entry points enable "hot" CSS and auto-refreshes for JS.
68
68
entry : {
69
69
[ 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
71
72
// connect to WebpackDevServer by a socket and get notified about changes.
72
73
// When you save a file, the client will either apply hot updates (in case
73
74
// of CSS changes), or refresh the page (in case of JS changes). When you
@@ -78,10 +79,6 @@ module.exports = {
78
79
// require.resolve('webpack-dev-server/client') + '?/',
79
80
// require.resolve('webpack/hot/dev-server'),
80
81
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' ) ,
85
82
// Finally, this is your app's code:
86
83
paths . appIndexJs ,
87
84
// 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