From e4cde371b205ea8f4d09574cdc1269f06a24d363 Mon Sep 17 00:00:00 2001 From: Michael H Date: Thu, 16 Jan 2025 13:48:23 +1100 Subject: [PATCH 1/2] docs: fix broken link --- docs/bundler/plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/bundler/plugins.md b/docs/bundler/plugins.md index 1831e8d6cf0324..8ea89a4b42d4da 100644 --- a/docs/bundler/plugins.md +++ b/docs/bundler/plugins.md @@ -291,7 +291,7 @@ One of the reasons why Bun's bundler is so fast is that it is written in native However, one limitation of plugins written in JavaScript is that JavaScript itself is single-threaded. -Native plugins are written as [NAPI](/docs/node-api) modules and can be run on multiple threads. This allows native plugins to run much faster than JavaScript plugins. +Native plugins are written as [NAPI](https://bun.sh/docs/api/node-api) modules and can be run on multiple threads. This allows native plugins to run much faster than JavaScript plugins. In addition, native plugins can skip unnecessary work such as the UTF-8 -> UTF-16 conversion needed to pass strings to JavaScript. From 6d622047479aa405fdab44c21ba31e1a346b0b4a Mon Sep 17 00:00:00 2001 From: Michael H Date: Thu, 16 Jan 2025 13:56:52 +1100 Subject: [PATCH 2/2] Update install.md --- docs/cli/install.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/cli/install.md b/docs/cli/install.md index bc7a12fdfa8b4e..080b6e0f288564 100644 --- a/docs/cli/install.md +++ b/docs/cli/install.md @@ -93,7 +93,7 @@ $ bun install --filter '!pkg-c' $ bun install --filter './packages/pkg-a' ``` -For more information on filtering with `bun install`, refer to [Package Manager > Filtering](https://bun.sh/docs/cli/install#bun-install-and-bun-outdated) +For more information on filtering with `bun install`, refer to [Package Manager > Filtering](https://bun.sh/docs/cli/filter#bun-install-and-bun-outdated) ## Overrides and resolutions