From 79d442fcc69ef7e132d39f67865b334f6d8b8e52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Brunner?= Date: Tue, 29 Oct 2024 08:35:20 +0100 Subject: [PATCH] Don't have duplicated files in dist folder --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f1bb09d30e86..b496ca677211 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "serve-gmf-apps": "DEV_SERVER=1 TARGET=gmf-apps webpack serve --open --server-type=https --server-options-cert=private.crt --server-options-key=private.key --port=3000 --mode=development --progress", "serve-api": "webpack serve --content-base=api/dist/apihelp/ --config=buildtools/webpack.api.js --server-type=https --server-options-cert=private.crt --server-options-key=private.key --port=3000 --mode=development --progress --watch", "build-gmf-apps-profile": "TARGET=gmf-apps webpack --profile --json > profile.json", - "dist": "TARGET=dist webpack --mode=production --progress", + "dist": "rm dist/*; TARGET=dist webpack --mode=production --progress", "dist-spinner": "svgo --config=svgo.js src/icons/spinner.svg --output=dist/spinner.svg", "distlib": "tsc --pretty", "distlib-images": "copyfiles --verbose src/**/*.svg src/*.svg src/**/*.png src/*.png distlib",