diff options
-rw-r--r-- | docs/runtime/plugins.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/runtime/plugins.md b/docs/runtime/plugins.md index 5bf80ffb4..0286c7887 100644 --- a/docs/runtime/plugins.md +++ b/docs/runtime/plugins.md @@ -173,7 +173,7 @@ Loading a YAML file is useful, but plugins support more than just data loading. ```ts#sveltePlugin.ts import { plugin } from "bun"; -await plugin({ +plugin({ name: "svelte loader", async setup(build) { const { compile } = await import("svelte/compiler"); |