options() — vite Function Reference
Architecture documentation for the options() function in plugin.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 9b046f45_a2c9_4754_6751_cfb0112161bd["options()"] 5abb8c87_ffcb_f2d4_7421_e36705d9e5c7["plugin.ts"] 9b046f45_a2c9_4754_6751_cfb0112161bd -->|defined in| 5abb8c87_ffcb_f2d4_7421_e36705d9e5c7 c9b245c1_add7_9a08_4f17_a6d03ed5e241["definePlugin()"] c9b245c1_add7_9a08_4f17_a6d03ed5e241 -->|calls| 9b046f45_a2c9_4754_6751_cfb0112161bd 7e906fcf_994b_bbf0_41a0_ed109ab73503["prepareOutDirPlugin()"] 7e906fcf_994b_bbf0_41a0_ed109ab73503 -->|calls| 9b046f45_a2c9_4754_6751_cfb0112161bd style 9b046f45_a2c9_4754_6751_cfb0112161bd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/plugin.ts lines 118–124
(
this: MinimalPluginContext & { environment: DevEnvironment },
options: HotUpdateOptions,
) =>
| Array<EnvironmentModuleNode>
| void
| Promise<Array<EnvironmentModuleNode> | void>
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does options() do?
options() is a function in the vite codebase, defined in packages/vite/src/node/plugin.ts.
Where is options() defined?
options() is defined in packages/vite/src/node/plugin.ts at line 118.
What calls options()?
options() is called by 2 function(s): definePlugin, prepareOutDirPlugin.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free