getImportMetaEnvKeyRe() — vite Function Reference
Architecture documentation for the getImportMetaEnvKeyRe() function in define.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 366b32d1_aeb4_53f8_982f_3ec33281fe7b["getImportMetaEnvKeyRe()"] 6e6f4bb4_92d1_caf8_3dbc_8f1aaeb851bd["define.ts"] 366b32d1_aeb4_53f8_982f_3ec33281fe7b -->|defined in| 6e6f4bb4_92d1_caf8_3dbc_8f1aaeb851bd c9b245c1_add7_9a08_4f17_a6d03ed5e241["definePlugin()"] c9b245c1_add7_9a08_4f17_a6d03ed5e241 -->|calls| 366b32d1_aeb4_53f8_982f_3ec33281fe7b style 366b32d1_aeb4_53f8_982f_3ec33281fe7b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/plugins/define.ts lines 261–268
function getImportMetaEnvKeyRe(marker: string): RegExp {
let re = importMetaEnvKeyReCache.get(marker)
if (!re) {
re = new RegExp(`${marker}\\..+?\\b`, 'g')
importMetaEnvKeyReCache.set(marker, re)
}
return re
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does getImportMetaEnvKeyRe() do?
getImportMetaEnvKeyRe() is a function in the vite codebase, defined in packages/vite/src/node/plugins/define.ts.
Where is getImportMetaEnvKeyRe() defined?
getImportMetaEnvKeyRe() is defined in packages/vite/src/node/plugins/define.ts at line 261.
What calls getImportMetaEnvKeyRe()?
getImportMetaEnvKeyRe() is called by 1 function(s): definePlugin.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free