From 9dd1465a84c1e96ae2b8d2dab146302884413a0c Mon Sep 17 00:00:00 2001 From: ntr Date: Tue, 23 Oct 2018 17:51:32 +1100 Subject: [PATCH] delete dist on build --- client/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/package.json b/client/package.json index 29c7e718..6dfefe3f 100755 --- a/client/package.json +++ b/client/package.json @@ -5,7 +5,7 @@ "main": "index.js", "scripts": { "start": "parcel index.html --port 40080", - "build": "parcel build index.html", + "build": "rm -rf dist && parcel build index.html", "lint": "eslint --fix src/", "test": "echo \"Error: no test specified\" && exit 1" },