From 7c1918c1cbc36d623ab2f335607ea661d173f133 Mon Sep 17 00:00:00 2001 From: Shinwoo PARK Date: Fri, 17 Nov 2023 17:19:50 +0900 Subject: [PATCH] fix: add rm -rf in build --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index a93133f..0247b64 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,7 @@ "typescript": "^5.2.2" }, "scripts": { - "build": "tsc", - "up": "tsc && yarn publish dist" + "build": "rm -rf ./dist && tsc", + "up": "yarn build && yarn publish dist" } }