build.ts 209 B

123456789
  1. #!/usr/bin/env bun
  2. import { $ } from "bun"
  3. import { fileURLToPath } from "node:url"
  4. process.chdir(fileURLToPath(new URL("..", import.meta.url)))
  5. await $`rm -rf dist`
  6. await $`bun tsc -p tsconfig.build.json`