From 2097a03b9c7220053cb14b98ef4734d705739ffd Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Fri, 8 Dec 2017 12:21:53 +0330 Subject: [PATCH] allow minimal debugging in producion envs no-sources-source-map prevents using chrome debugging tools. --- lib/builder/webpack/base.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/builder/webpack/base.config.js b/lib/builder/webpack/base.config.js index 75bf3af984..762598e3df 100644 --- a/lib/builder/webpack/base.config.js +++ b/lib/builder/webpack/base.config.js @@ -19,7 +19,7 @@ export default function webpackBaseConfig(name) { const config = { name, - devtool: this.options.dev ? 'cheap-module-source-map' : 'nosources-source-map', + devtool: this.options.dev ? 'cheap-module-source-map' : false, entry: { app: null },