File tree 1 file changed +2
-2
lines changed
packages/react-scripts/config
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,6 +43,8 @@ module.exports = {
43
43
// This means they will be the "root" imports that are included in JS bundle.
44
44
// The first two entry points enable "hot" CSS and auto-refreshes for JS.
45
45
entry : [
46
+ // We ship a few polyfills by default:
47
+ require . resolve ( './polyfills' ) ,
46
48
// Include an alternative client for WebpackDevServer. A client's job is to
47
49
// connect to WebpackDevServer by a socket and get notified about changes.
48
50
// When you save a file, the client will either apply hot updates (in case
@@ -54,8 +56,6 @@ module.exports = {
54
56
// require.resolve('webpack-dev-server/client') + '?/',
55
57
// require.resolve('webpack/hot/dev-server'),
56
58
require . resolve ( 'react-dev-utils/webpackHotDevClient' ) ,
57
- // We ship a few polyfills by default:
58
- require . resolve ( './polyfills' ) ,
59
59
// Finally, this is your app's code:
60
60
paths . appIndexJs ,
61
61
// 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