diff --git a/tools/webpack.dev.config.js b/tools/webpack.dev.config.js index 143750b1b7..03ceb4c827 100644 --- a/tools/webpack.dev.config.js +++ b/tools/webpack.dev.config.js @@ -19,6 +19,9 @@ config.plugins.push(new webpack.HotModuleReplacementPlugin()); // Better logging from console for hot reload config.plugins.push(new webpack.NamedModulesPlugin()); +// script-loader should load sourceURL in dev +config.plugins.push(new webpack.LoaderOptionsPlugin({debug: true})); + config.devServer = { clientLogLevel: "warning", hot: true,