aboutsummaryrefslogtreecommitdiff
path: root/docs/nav.ts
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-04-26 20:07:30 -0700
committerGravatar GitHub <noreply@github.com> 2023-04-26 20:07:30 -0700
commit8ba13f273c2fb4cd18e144f885a0c6b4b94e5880 (patch)
treecf9d42de2b840c0dcbfd578843507d2db1e36b8d /docs/nav.ts
parent68ab71eb13687ebb0889d085bb9c76132e452f60 (diff)
downloadbun-8ba13f273c2fb4cd18e144f885a0c6b4b94e5880.tar.gz
bun-8ba13f273c2fb4cd18e144f885a0c6b4b94e5880.tar.zst
bun-8ba13f273c2fb4cd18e144f885a0c6b4b94e5880.zip
Add bundler documentation (#2753)
* WIP * WIP * WIP * Document API * Updates * Polish bundler docs * Tweaks * Tweak
Diffstat (limited to 'docs/nav.ts')
-rw-r--r--docs/nav.ts19
1 files changed, 14 insertions, 5 deletions
diff --git a/docs/nav.ts b/docs/nav.ts
index b3034a914..6bbbde529 100644
--- a/docs/nav.ts
+++ b/docs/nav.ts
@@ -102,7 +102,6 @@ export default {
page("runtime/web-apis", "Web APIs", {
description: `Bun implements an array of Web-standard APIs like fetch, URL, and WebSocket.`,
}),
-
page("runtime/nodejs-apis", "Node.js compatibility", {
description: `Bun aims for full Node.js compatibility. This page tracks the current compatibility status.`,
}),
@@ -125,10 +124,6 @@ export default {
page("runtime/configuration", "Configuration", {
description: `Bun's runtime is configurable with environment variables and the bunfig.toml config file.`,
}),
- page("runtime/plugins", "Plugins", {
- description: `Implement custom loaders and module resolution logic with Bun's plugin system.`,
- }),
-
page("runtime/framework", "Framework API", {
disabled: true,
description:
@@ -158,6 +153,20 @@ export default {
description: "Use `bun pm` to introspect your global module cache or project dependency tree.",
}),
+ divider("Bundler"),
+ page("cli/build", "`Bun.build`", {
+ description: "Bundle code for comsumption in the browser with Bun's native bundler.",
+ }),
+ // page("bundler/intro", "How bundlers work", {
+ // description: "A visual introduction to bundling",
+ // }),
+ page("bundler/loaders", "Loaders", {
+ description: "Bun's built-in loaders for the bundler and runtime",
+ }),
+ page("bundler/plugins", "Plugins", {
+ description: `Implement custom loaders and module resolution logic with Bun's plugin system.`,
+ }),
+
divider("Test runner"),
page("cli/test", "`bun test`", {
description: "Bun's test runner uses Jest-compatible syntax but runs 100x faster.",