add throw: true in Bun.build, to be made default in 1.2 (#15861)

This commit is contained in:
dave caruso
2024-12-18 19:27:59 -08:00
committed by GitHub
parent 5d2b72aa3b
commit 41924211f2
24 changed files with 304 additions and 130 deletions

View File

@@ -58,7 +58,7 @@ const myPlugin: BunPlugin = {
This plugin can be passed into the `plugins` array when calling `Bun.build`.
```ts
Bun.build({
await Bun.build({
entrypoints: ["./app.ts"],
outdir: "./out",
plugins: [myPlugin],