From 29d2590fcaec2472819daa4b6826697b67524a01 Mon Sep 17 00:00:00 2001 From: Vladimir Sitnikov Date: Tue, 11 Aug 2020 15:54:49 +0300 Subject: [PATCH] Disable minification for better error reporting in GitHub --- cache-action-entrypoint/webpack.config.d/config.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cache-action-entrypoint/webpack.config.d/config.js b/cache-action-entrypoint/webpack.config.d/config.js index ff77bce..5d50b53 100644 --- a/cache-action-entrypoint/webpack.config.d/config.js +++ b/cache-action-entrypoint/webpack.config.d/config.js @@ -31,11 +31,15 @@ config.optimization = { sourceMap: true, // Must be set to true if using source-maps in production terserOptions: { // https://github.com/webpack-contrib/terser-webpack-plugin#terseroptions - // mangle: false, + mangle: false, sourceMap: true, // compress: false, keep_classnames: /AbortSignal/, keep_fnames: /AbortSignal/, + output: { + beautify: true, + indent_level: 1 + } } }), ],