File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
packages/react-scripts/config Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -308,6 +308,11 @@ module.exports = {
308308 ] ) ,
309309 // @remove -on-eject-end
310310 highlightCode : true ,
311+ // If an error happens in a package, it's possible to be
312+ // because it was compiled. Thus, we don't want the browser
313+ // debugger to show the original code. Instead, the code
314+ // being evaluated would be much more helpful.
315+ sourceMaps : false ,
311316 } ,
312317 } ,
313318 ] ,
Original file line number Diff line number Diff line change @@ -342,6 +342,11 @@ module.exports = {
342342 ] ) ,
343343 // @remove -on-eject-end
344344 highlightCode : true ,
345+ // If an error happens in a package, it's possible to be
346+ // because it was compiled. Thus, we don't want the browser
347+ // debugger to show the original code. Instead, the code
348+ // being evaluated would be much more helpful.
349+ sourceMaps : false ,
345350 } ,
346351 } ,
347352 ] ,
You can’t perform that action at this time.
0 commit comments