skipUrlReplacer() — vite Function Reference
Architecture documentation for the skipUrlReplacer() function in css.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD bafacb32_492f_c34a_cdad_d01b78d6a2b3["skipUrlReplacer()"] c3eb47df_971b_0616_6c9f_29b3ded72224["css.ts"] bafacb32_492f_c34a_cdad_d01b78d6a2b3 -->|defined in| c3eb47df_971b_0616_6c9f_29b3ded72224 4274dcf6_df8f_0a7e_51d3_aa97fd2b2204["doUrlReplace()"] 4274dcf6_df8f_0a7e_51d3_aa97fd2b2204 -->|calls| bafacb32_492f_c34a_cdad_d01b78d6a2b3 9272cf1f_ddcb_b7c6_ed36_3afd198d0f9c["doImportCSSReplace()"] 9272cf1f_ddcb_b7c6_ed36_3afd198d0f9c -->|calls| bafacb32_492f_c34a_cdad_d01b78d6a2b3 cc40a51d_2143_be43_f128_4841bfa5e9d3["compileLightningCSS()"] cc40a51d_2143_be43_f128_4841bfa5e9d3 -->|calls| bafacb32_492f_c34a_cdad_d01b78d6a2b3 23257aa1_5e3f_7e6e_1b43_875b139e4ec5["isExternalUrl()"] bafacb32_492f_c34a_cdad_d01b78d6a2b3 -->|calls| 23257aa1_5e3f_7e6e_1b43_875b139e4ec5 298b86d6_4810_9884_d5fa_3e3077e2206a["isDataUrl()"] bafacb32_492f_c34a_cdad_d01b78d6a2b3 -->|calls| 298b86d6_4810_9884_d5fa_3e3077e2206a style bafacb32_492f_c34a_cdad_d01b78d6a2b3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/plugins/css.ts lines 2120–2130
function skipUrlReplacer(unquotedUrl: string) {
return (
isExternalUrl(unquotedUrl) ||
isDataUrl(unquotedUrl) ||
unquotedUrl[0] === '#' ||
functionCallRE.test(unquotedUrl) ||
// skip if it is already a placeholder
unquotedUrl.startsWith('__VITE_ASSET__') ||
unquotedUrl.startsWith('__VITE_PUBLIC_ASSET__')
)
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does skipUrlReplacer() do?
skipUrlReplacer() is a function in the vite codebase, defined in packages/vite/src/node/plugins/css.ts.
Where is skipUrlReplacer() defined?
skipUrlReplacer() is defined in packages/vite/src/node/plugins/css.ts at line 2120.
What does skipUrlReplacer() call?
skipUrlReplacer() calls 2 function(s): isDataUrl, isExternalUrl.
What calls skipUrlReplacer()?
skipUrlReplacer() is called by 3 function(s): compileLightningCSS, doImportCSSReplace, doUrlReplace.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free