From 1ae02cce97f218aa5ca6a97e9da87cbcfb1edfac Mon Sep 17 00:00:00 2001 From: "Pweaver (Paul Weaver)" Date: Thu, 27 Jul 2017 17:32:37 -0400 Subject: [PATCH] Frontend debug: script-loader should load sourceURL. --- tools/webpack.dev.config.js | 3 +++ 1 file changed, 3 insertions(+) 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,