From 547ca3c593a2fd8d067bd73b6779665febe6c5bc Mon Sep 17 00:00:00 2001 From: mike12345567 Date: Fri, 25 Jun 2021 17:28:48 +0100 Subject: [PATCH] force delete dist directory when building. --- packages/server/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/server/package.json b/packages/server/package.json index 299262466e..555c0a951c 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -9,7 +9,7 @@ "url": "https://github.com/Budibase/budibase.git" }, "scripts": { - "build": "rm -r dist/ && tsc && mv dist/src/* dist/ && rmdir dist/src/", + "build": "rm -rf dist/ && tsc && mv dist/src/* dist/ && rmdir dist/src/", "test": "jest --coverage --maxWorkers=2", "test:watch": "jest --watch", "build:docker": "docker build . -t app-service",