diff --git a/packages/react-devtools-inline/webpack.config.js b/packages/react-devtools-inline/webpack.config.js index 6a05842bbd73c..85c7da82ea3ea 100644 --- a/packages/react-devtools-inline/webpack.config.js +++ b/packages/react-devtools-inline/webpack.config.js @@ -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',