File tree 1 file changed +3
-5
lines changed
packages/react-scripts/config
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -33,11 +33,9 @@ var env = getClientEnvironment(publicUrl);
33
33
// It is focused on developer experience and fast rebuilds.
34
34
// The production configuration is different and lives in a separate file.
35
35
module . exports = {
36
- // This makes the bundle appear split into separate modules in the devtools.
37
- // We don't use source maps here because they can be confusing:
38
- // https://github.com/facebookincubator/create-react-app/issues/343#issuecomment-237241875
39
- // You may want 'cheap-module-source-map' instead if you prefer source maps.
40
- devtool : 'eval' ,
36
+ // You may want 'eval' instead if you prefer to see the compiled output in DevTools.
37
+ // See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.
38
+ devtool : 'cheap-module-source-map' ,
41
39
// These are the "entry points" to our application.
42
40
// This means they will be the "root" imports that are included in JS bundle.
43
41
// The first two entry points enable "hot" CSS and auto-refreshes for JS.
You can’t perform that action at this time.
0 commit comments