Skip to content

Commit

Permalink
fix: delete folders before build steps
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Sep 13, 2024
1 parent b2be4f3 commit c050766
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"version": "${packageVersion}",
"scripts": {
"build": "concurrently '${packageManager}:build:cjs' '${packageManager}:build:es' '${packageManager}:build:types'",
"build:cjs": "tsc -p tsconfig.cjs.json",
"build:es": "tsc -p tsconfig.es.json",
"build:types": "tsc -p tsconfig.types.json",
"build:cjs": "(rimraf ./dist-cjs || exit 0) && tsc -p tsconfig.cjs.json",
"build:es": "(rimraf ./dist-es || exit 0) tsc -p tsconfig.es.json",
"build:types": "(rimraf ./dist-types || exit 0) tsc -p tsconfig.types.json",
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
"clean": "rimraf ./dist-* && rimraf *.tsbuildinfo || exit 0",
"prepack": "${packageManager} run clean && ${packageManager} run build"
Expand Down

0 comments on commit c050766

Please sign in to comment.