CustomPluginOptionsVite Type — vite Architecture
Architecture documentation for the CustomPluginOptionsVite type/interface in metadata.d.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 2449554e_0ae5_1347_93d8_9f831411341a["CustomPluginOptionsVite"] 628700f1_28c5_c1c6_bb1f_815e038019cc["metadata.d.ts"] 2449554e_0ae5_1347_93d8_9f831411341a -->|defined in| 628700f1_28c5_c1c6_bb1f_815e038019cc style 2449554e_0ae5_1347_93d8_9f831411341a fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/types/metadata.d.ts lines 13–30
export interface CustomPluginOptionsVite {
/**
* If this is a CSS Rollup module, you can scope to its importer's exports
* so that if those exports are treeshaken away, the CSS module will also
* be treeshaken.
*
* The "importerId" must import the CSS Rollup module statically.
*
* Example config if the CSS id is `/src/App.vue?vue&type=style&lang.css`:
* ```js
* cssScopeTo: ['/src/App.vue', 'default']
* ```
*/
cssScopeTo?: readonly [importerId: string, exportName: string | undefined]
/** @deprecated no-op since Vite 6.1 */
lang?: string
}
Defined In
Source
Frequently Asked Questions
What is the CustomPluginOptionsVite type?
CustomPluginOptionsVite is a type/interface in the vite codebase, defined in packages/vite/types/metadata.d.ts.
Where is CustomPluginOptionsVite defined?
CustomPluginOptionsVite is defined in packages/vite/types/metadata.d.ts at line 13.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free