Frontend debug: script-loader should load sourceURL.

This commit is contained in:
Pweaver (Paul Weaver) 2017-07-27 17:32:37 -04:00 committed by Tim Abbott
parent 724e988102
commit 1ae02cce97
1 changed files with 3 additions and 0 deletions

View File

@ -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,