Skip to content

Commit 76d79f2

Browse files
committed
Use eval-cheap-source-map in dev builds of react-devtools-inline
1 parent 324045b commit 76d79f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-devtools-inline/webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const DEVTOOLS_VERSION = getVersionString();
1717

1818
module.exports = {
1919
mode: __DEV__ ? 'development' : 'production',
20-
devtool: 'source-map',
20+
devtool: __DEV__ ? 'eval-cheap-source-map' : 'source-map',
2121
entry: {
2222
backend: './src/backend.js',
2323
frontend: './src/frontend.js',

0 commit comments

Comments
 (0)