docs(api-plugin): note plugin options extended properties (#12181)

This commit is contained in:
Bjorn Lu 2023-02-27 04:34:56 +08:00 committed by GitHub
parent 2aad5522dc
commit e4215009f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,6 +159,8 @@ The following hooks are called on each incoming module request:
- [`load`](https://rollupjs.org/plugin-development/#load)
- [`transform`](https://rollupjs.org/plugin-development/#transform)
They also have an extended `options` parameter with additional Vite-specific properties. You can read more in the [SSR documentation](/guide/ssr#ssr-specific-plugin-logic).
The following hooks are called when the server is closed:
- [`buildEnd`](https://rollupjs.org/plugin-development/#buildend)