diff --git a/packages/react-server-cli/src/compileClient.js b/packages/react-server-cli/src/compileClient.js index b266874e5..e6370afb4 100755 --- a/packages/react-server-cli/src/compileClient.js +++ b/packages/react-server-cli/src/compileClient.js @@ -222,7 +222,7 @@ const packageCodeForBrowser = (entrypoints, outputDir, outputUrl, hot, minify, l new webpack.optimize.UglifyJsPlugin(), ]; } else { - webpackConfig.devtool = "#cheap-module-eval-source-map"; + webpackConfig.plugins.push(new webpack.SourceMapDevToolPlugin()); } if (hot) {