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 @@ -42,11 +42,9 @@ var env = getClientEnvironment(publicUrl);
42
42
// ZEAL: Converted to a function to allow injecting the publicPath.
43
43
module . exports = function ( publicPath ) {
44
44
return {
45
- // This makes the bundle appear split into separate modules in the devtools.
46
- // We don't use source maps here because they can be confusing:
47
- // https://github.com/facebookincubator/create-react-app/issues/343#issuecomment-237241875
48
- // You may want 'cheap-module-source-map' instead if you prefer source maps.
49
- devtool : 'eval' ,
45
+ // You may want 'eval' instead if you prefer to see the compiled output in DevTools.
46
+ // See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.
47
+ devtool : 'cheap-module-source-map' ,
50
48
// These are the "entry points" to our application.
51
49
// This means they will be the "root" imports that are included in JS bundle.
52
50
// 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