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