From c6f88917550bed679bad12c9e654891e3ea70946 Mon Sep 17 00:00:00 2001 From: Marcel Schneider Date: Fri, 21 Apr 2017 09:47:23 +0200 Subject: [PATCH] Use source-maps for better debugging --- build/webpack.dev.conf.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build/webpack.dev.conf.js b/build/webpack.dev.conf.js index 5470402..78b6575 100644 --- a/build/webpack.dev.conf.js +++ b/build/webpack.dev.conf.js @@ -16,7 +16,8 @@ module.exports = merge(baseWebpackConfig, { rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap }) }, // cheap-module-eval-source-map is faster for development - devtool: '#cheap-module-eval-source-map', + //devtool: '#cheap-module-eval-source-map', + devtool: '#source-map', plugins: [ new webpack.DefinePlugin({ 'process.env': config.dev.env