mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
add throw: true in Bun.build, to be made default in 1.2 (#15861)
This commit is contained in:
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user