Skip to content

Commit 439a73f

Browse files
authored
docs: update rollup docs links (#12130)
1 parent 5f7f5dc commit 439a73f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/guide/api-plugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ A fair number of Rollup plugins will work directly as a Vite plugin (e.g. `@roll
479479
480480
In general, as long as a Rollup plugin fits the following criteria then it should just work as a Vite plugin:
481481
482-
- It doesn't use the [`moduleParsed`](https://rollupjs.org/guide/en/#moduleparsed) hook.
482+
- It doesn't use the [`moduleParsed`](https://rollupjs.org/plugin-development/#moduleparsed) hook.
483483
- It doesn't have strong coupling between bundle-phase hooks and output-phase hooks.
484484
485485
If a Rollup plugin only makes sense for the build phase, then it can be specified under `build.rollupOptions.plugins` instead. It will work the same as a Vite plugin with `enforce: 'post'` and `apply: 'build'`.

docs/guide/migration.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Vite is now using [Rollup 3](https://github.com/vitejs/vite/issues/9870), which allowed us to simplify Vite's internal asset handling and has many improvements. See the [Rollup 3 release notes here](https://github.com/rollup/rollup/releases/tag/v3.0.0).
66

7-
Rollup 3 is mostly compatible with Rollup 2. If you are using custom [`rollupOptions`](../config/build-options.md#rollup-options) in your project and encounter issues, refer to the [Rollup migration guide](https://rollupjs.org/guide/en/#migration) to upgrade your config.
7+
Rollup 3 is mostly compatible with Rollup 2. If you are using custom [`rollupOptions`](../config/build-options.md#rollup-options) in your project and encounter issues, refer to the [Rollup migration guide](https://rollupjs.org/migration/) to upgrade your config.
88

99
## Modern Browser Baseline change
1010

packages/vite/CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ See [3.2.0-beta.0 changelog](https://github.com/vitejs/vite/blob/v3.2.0-beta.4/p
648648
}
649649
}
650650
```
651-
Read the updated [Rollup Plugin docs](https://rollupjs.org/guide/en/#build-hooks) for more information.
651+
Read the updated [Rollup Plugin docs](https://rollupjs.org/plugin-development/#build-hooks) for more information.
652652

653653
> **Note**
654654
> After Vite 3.1, you are no longer going to see `[vite] hot updated` log messages in the browser console. These messages have been moved to the debug channel ([#8855](https://github.com/vitejs/vite/issues/8855)). Check your browser docs to [show debug logs](https://developer.chrome.com/docs/devtools/console/log/#level).

0 commit comments

Comments
 (0)