From c5c7934ebc28d27342b42f40b7834bc35dd24aaf Mon Sep 17 00:00:00 2001 From: Gavin John Date: Wed, 4 Oct 2023 23:29:54 -0500 Subject: Update `preload` documentation to make applicability to plugins more obvious (#6298) --- docs/runtime/bunfig.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs/runtime') diff --git a/docs/runtime/bunfig.md b/docs/runtime/bunfig.md index 52ffcec11..83f66b1b1 100644 --- a/docs/runtime/bunfig.md +++ b/docs/runtime/bunfig.md @@ -19,11 +19,11 @@ Bun's runtime behavior is configured using top-level fields in the `bunfig.toml` ### `preload` -An array of scripts to execute before running a file or script. This is useful for registering plugins. +An array of scripts/plugins to execute before running a file or script. ```toml -# scripts to run before `bun run`ning a file or script -# useful for registering plugins +# scripts to run before `bun run`-ing a file or script +# register plugins by adding them to this list preload = ["./preload.ts"] ``` -- cgit v1.2.3