getTopLevelConfig() — vite Function Reference
Architecture documentation for the getTopLevelConfig() function in baseEnvironment.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD b1f5b07b_f692_69cd_1795_627055928bb7["getTopLevelConfig()"] dc928824_33f2_0b61_b231_90d8800b77a5["PartialEnvironment"] b1f5b07b_f692_69cd_1795_627055928bb7 -->|defined in| dc928824_33f2_0b61_b231_90d8800b77a5 a016fb65_b1f4_be50_c5c3_d0c8f7b2ab52["resolveRolldownOptions()"] a016fb65_b1f4_be50_c5c3_d0c8f7b2ab52 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 8d2a4ec7_9ff4_4748_5388_bbb3eedb7eb2["injectSsrFlag()"] 8d2a4ec7_9ff4_4748_5388_bbb3eedb7eb2 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 f6cc5896_6a10_2069_d844_d1c6914e9d05["devToScanEnvironment()"] f6cc5896_6a10_2069_d844_d1c6914e9d05 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 bf9f2e70_9cb2_11c1_752f_141bae77fe77["resolveEnvironmentPlugins()"] bf9f2e70_9cb2_11c1_752f_141bae77fe77 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 edf78a01_8215_eb46_3896_3db717c46747["renderAssetUrlInJS()"] edf78a01_8215_eb46_3896_3db717c46747 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 eec82f76_7029_ae97_4449_1665a4f204d8["fileToDevUrl()"] eec82f76_7029_ae97_4449_1665a4f204d8 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 86195de2_9c12_1f7e_7a3e_0754a5695ebe["fileToBuiltUrl()"] 86195de2_9c12_1f7e_7a3e_0754a5695ebe -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 70054416_c841_dc8b_5bd9_4793198b4325["urlToBuiltUrl()"] 70054416_c841_dc8b_5bd9_4793198b4325 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 e0336cc5_add2_5b51_6027_5f5c568b2852["compileCSSPreprocessors()"] e0336cc5_add2_5b51_6027_5f5c568b2852 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 6aa50cd4_4412_2a02_b76b_495614715811["compilePostCSS()"] 6aa50cd4_4412_2a02_b76b_495614715811 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 cc40a51d_2143_be43_f128_4841bfa5e9d3["compileLightningCSS()"] cc40a51d_2143_be43_f128_4841bfa5e9d3 -->|calls| b1f5b07b_f692_69cd_1795_627055928bb7 style b1f5b07b_f692_69cd_1795_627055928bb7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/baseEnvironment.ts lines 15–17
getTopLevelConfig(): ResolvedConfig {
return this._topLevelConfig
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getTopLevelConfig() do?
getTopLevelConfig() is a function in the vite codebase, defined in packages/vite/src/node/baseEnvironment.ts.
Where is getTopLevelConfig() defined?
getTopLevelConfig() is defined in packages/vite/src/node/baseEnvironment.ts at line 15.
What calls getTopLevelConfig()?
getTopLevelConfig() is called by 11 function(s): compileCSSPreprocessors, compileLightningCSS, compilePostCSS, devToScanEnvironment, fileToBuiltUrl, fileToDevUrl, injectSsrFlag, renderAssetUrlInJS, and 3 more.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free