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. 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