Skip to content

Commit 31e6eb1

Browse files
author
Shobhit Gupta
committedNov 4, 2018
SourceMap workaround for js files (just that its slightly slower, for speed goto 100% ts)
1 parent eb34688 commit 31e6eb1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎config/webpack.config.dev.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const env = getClientEnvironment(publicUrl);
3737
module.exports = {
3838
// You may want 'eval' instead if you prefer to see the compiled output in DevTools.
3939
// See the discussion in https://github.com/facebookincubator/create-react-app/issues/343.
40-
devtool: 'cheap-module-source-map',
40+
devtool: 'source-map',
4141
// These are the "entry points" to our application.
4242
// This means they will be the "root" imports that are included in JS bundle.
4343
// The first two entry points enable "hot" CSS and auto-refreshes for JS.

0 commit comments

Comments
 (0)
Please sign in to comment.