fix: node -> bun
This commit is contained in:
parent
499ee5eba0
commit
cb165b224e
2 changed files with 0 additions and 54 deletions
11
build.ts
11
build.ts
|
|
@ -1,11 +0,0 @@
|
|||
#!/usr/bin/env bun
|
||||
// Build script: compiles index.ts to dist/index.mjs
|
||||
import { $ } from "bun"
|
||||
|
||||
await $`rm -rf dist`
|
||||
await $`mkdir -p dist`
|
||||
|
||||
// Use bun build to bundle everything into a single file
|
||||
await $`bun build index.ts --target bun --outdir dist --format esm --minify`
|
||||
|
||||
console.log("Build complete: dist/index.mjs")
|
||||
43
dist/index.mjs
vendored
43
dist/index.mjs
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Add a link
Reference in a new issue