Skip to content

Commit

Permalink
Use eval-cheap-source-map in dev builds of react-devtools-inline
Browse files Browse the repository at this point in the history
  • Loading branch information
jpribyl committed Sep 17, 2020
1 parent 324045b commit 76d79f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-devtools-inline/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const DEVTOOLS_VERSION = getVersionString();

module.exports = {
mode: __DEV__ ? 'development' : 'production',
devtool: 'source-map',
devtool: __DEV__ ? 'eval-cheap-source-map' : 'source-map',
entry: {
backend: './src/backend.js',
frontend: './src/frontend.js',
Expand Down

0 comments on commit 76d79f2

Please sign in to comment.