This repository was archived by the owner on Oct 16, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 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);
4242// ZEAL: Converted to a function to allow injecting the publicPath.
4343module . exports = function ( publicPath ) {
4444 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' ,
5048 // These are the "entry points" to our application.
5149 // This means they will be the "root" imports that are included in JS bundle.
5250 // 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