force delete dist directory when building.

This commit is contained in:
mike12345567 2021-06-25 17:28:48 +01:00
parent 477adfdbd7
commit f151948f60
1 changed files with 1 additions and 1 deletions

View File

@ -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",