From 64c9df56069f24f1a31793ceb601e0819e271028 Mon Sep 17 00:00:00 2001 From: ericf-axosoft <90025366+ericf-axosoft@users.noreply.github.com> Date: Wed, 2 Nov 2022 11:48:10 +0100 Subject: [PATCH] 2284 - Enable GK Graph debug (#2286) * 2284 - Enable GK Graph debug * Changed "inline-source-map" to "source-map" --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 2790a97..af9cc94 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -351,7 +351,7 @@ function getWebviewsConfig(mode, env) { publicPath: '#{root}/dist/webviews/', }, optimization: { - minimizer: [ + minimizer: mode === 'production' ? [ new TerserPlugin( env.esbuild ? { @@ -396,7 +396,7 @@ function getWebviewsConfig(mode, env) { ], }, }), - ], + ] : [], }, module: { rules: [