Skip to content

Commit

Permalink
chore: Simplify prebuild cleanup step
Browse files Browse the repository at this point in the history
  • Loading branch information
maxmilton committed Jul 2, 2024
1 parent d6f9327 commit b9fdbd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ import { createBundle } from 'dts-buddy';
import { rollup } from 'rollup';
import { minify } from 'terser';

await Bun.$`rm -rf dist`;

console.time('build');

const out = await Bun.build({
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@
"lint:fmt": "biome check --diagnostic-level=warn",
"lint:js": "eslint",
"lint:ts": "tsc --noEmit",
"prebuild": "rm -rf dist",
"test": "bun test --preload ./test/setup.ts test/unit --coverage",
"test:e2e": "TZ=UTC playwright test"
},
Expand Down

0 comments on commit b9fdbd4

Please sign in to comment.