Represents the options for the plugin.
optional
include: FilterPattern
The patterns of files to include.
optional
exclude: FilterPattern
The patterns of files to exclude.
optional
viteServer: ViteDevServer | false
The Vite dev server instance.
If not provided and the bundler is Vite, it will reuse the current dev server.
If not provided, it will try to use viteConfig
to create one.
optional
viteConfig: InlineConfig
The Vite configuration.
Available when viteServer
is not provided.
optional
enforce: "pre"
| "post"
| undefined
Adjusts the plugin order (only works for Vite and Webpack).