enableSourceMapsInWatchModePlugin() — vite Function Reference
Architecture documentation for the enableSourceMapsInWatchModePlugin() function in rolldown.config.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD d10adf13_a113_e624_47c0_7739facdc4dd["enableSourceMapsInWatchModePlugin()"] 095867e3_0044_bba5_61f7_c60c3c9e56ce["rolldown.config.ts"] d10adf13_a113_e624_47c0_7739facdc4dd -->|defined in| 095867e3_0044_bba5_61f7_c60c3c9e56ce style d10adf13_a113_e624_47c0_7739facdc4dd fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/rolldown.config.ts lines 170–179
function enableSourceMapsInWatchModePlugin(): Plugin {
return {
name: 'enable-source-maps',
outputOptions(options) {
if (this.meta.watchMode && !disableSourceMap) {
options.sourcemap = 'inline'
}
},
}
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does enableSourceMapsInWatchModePlugin() do?
enableSourceMapsInWatchModePlugin() is a function in the vite codebase, defined in packages/vite/rolldown.config.ts.
Where is enableSourceMapsInWatchModePlugin() defined?
enableSourceMapsInWatchModePlugin() is defined in packages/vite/rolldown.config.ts at line 170.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free