Skip to content

Commit

Permalink
build: clean dist folder before each rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed Aug 8, 2024
1 parent 949bef2 commit dec47fe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"type": "module",
"types": "./dist/esm/types/index.d.ts",
"scripts": {
"build": "rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:esm"
"build": "rm -rf dist && rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:esm"
},
"repository": {
"type": "git",
Expand Down
2 changes: 1 addition & 1 deletion packages/fetch-mock/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"types": "./dist/esm/types/index.d.ts",
"type": "module",
"scripts": {
"build": "rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:esm",
"build": "rm -rf dist && rollup -c --environment FORMAT:cjs && rollup -c --environment FORMAT:esm",
"types:check": "tsd -t types/index.d.ts -f types/index.test-d.ts"
},
"repository": {
Expand Down

0 comments on commit dec47fe

Please sign in to comment.