Skip to content

Commit

Permalink
chore: ensure dist is deleted
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisbbreuer committed Oct 19, 2024
1 parent 31c72bb commit a61e051
Showing 1 changed file with 2 additions and 0 deletions.
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 { generateDeclarationsFromFiles } from './src/generate'

log.info('Building...')

await fs.rm('./dist', { recursive: true, force: true })

await Bun.build({
entrypoints: ['./src/index.ts', './bin/cli.ts'],
outdir: './dist',
Expand Down

0 comments on commit a61e051

Please sign in to comment.