From 83fb1de70807b8cfb8aa2b5320b1905d467f38f8 Mon Sep 17 00:00:00 2001 From: Peter van Gulik Date: Thu, 27 Jun 2024 13:53:14 +0200 Subject: [PATCH] fix: update webpack.prod.ts to disable code minimization The webpack.prod.ts file was modified to disable code minimization in the production mode. This is a temporary change to prevent issues with unresolved references that started appearing in the minimized version of Vlocode. --- packages/vscode-extension/webpack/webpack.prod.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/packages/vscode-extension/webpack/webpack.prod.ts b/packages/vscode-extension/webpack/webpack.prod.ts index aae4e30d..a7f9f84e 100644 --- a/packages/vscode-extension/webpack/webpack.prod.ts +++ b/packages/vscode-extension/webpack/webpack.prod.ts @@ -3,7 +3,10 @@ import { default as common } from './webpack.common'; const production: webpack.Configuration = { mode: 'production', - devtool: false + devtool: false, + optimization: { + minimize: false + } }; module.exports = env => common(env, production); \ No newline at end of file