From 6c88b96d4bf56b813513e75876590a3fd4bf30a8 Mon Sep 17 00:00:00 2001 From: Yash Garg Date: Fri, 26 Nov 2021 22:30:43 +0530 Subject: [PATCH] fix package.json build script --- frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/package.json b/frontend/package.json index 971614a6..dd753d83 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "serve": "vue-cli-service serve", - "build": "vue-cli-service build --no-clean", + "build": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitignore' -exec rm -r {} + && vue-cli-service build --no-clean", "lint": "npx vue-cli-service lint --no-fix", "fix": "npx vue-cli-service lint", "watch": "find ./dist -maxdepth 1 -mindepth 1 ! -name '.gitignore' -exec rm -r {} + && vue-cli-service build --watch --no-clean"