From e870cbf69858fd1e21242a281d93798b5a5c7c99 Mon Sep 17 00:00:00 2001 From: tanas80 Date: Tue, 25 Jun 2024 16:05:43 +0300 Subject: [PATCH] HWE: Fix build for TypeScript, fix dependencies --- HELM/source/webpack.config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/HELM/source/webpack.config.js b/HELM/source/webpack.config.js index c1ebbd6..4255a4c 100644 --- a/HELM/source/webpack.config.js +++ b/HELM/source/webpack.config.js @@ -37,7 +37,9 @@ module.exports = { plugins: [new FileManagerPlugin({ events: { onStart: {delete: ['./dist/*']}, - onEnd: {copy: [{source: './dist/*', destination: `${extPaths.Helm}/vendor/`}]}, + onEnd: { + copy: [{source: './dist/*', destination: `${extPaths.Helm}/vendor/`}], + delete: ['./dist']}, }, })], devtool: mode !== 'production' ? 'inline-source-map' : 'source-map',