diff --git a/package.json b/package.json index 04853eb..070de9e 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "dist" ], "scripts": { - "build": "tsup && yarn build:types", + "build": "tsup --clean && yarn build:types", "build:docs": "typedoc", "build:types": "tsc --project tsconfig.build.json", "lint": "yarn lint:eslint && yarn lint:constraints && yarn lint:misc --check && yarn lint:dependencies --check && yarn lint:changelog", diff --git a/scripts/prepack.sh b/scripts/prepack.sh index d14605d..ad99af5 100755 --- a/scripts/prepack.sh +++ b/scripts/prepack.sh @@ -8,4 +8,4 @@ if [[ -n $SKIP_PREPACK ]]; then exit 0 fi -yarn build:clean +yarn build