getMatcherString() — vite Function Reference
Architecture documentation for the getMatcherString() function in pluginFilter.ts from the vite codebase.
Entity Profile
Dependency Diagram
graph TD 4851a5b1_b57c_b296_fcb9_09bf9e342db3["getMatcherString()"] ed570918_8c20_047e_d700_db6178114e8f["pluginFilter.ts"] 4851a5b1_b57c_b296_fcb9_09bf9e342db3 -->|defined in| ed570918_8c20_047e_d700_db6178114e8f c1d1f930_a05f_b6cb_033a_4e928562c65e["patternToIdFilter()"] c1d1f930_a05f_b6cb_033a_4e928562c65e -->|calls| 4851a5b1_b57c_b296_fcb9_09bf9e342db3 f094d39d_cd97_2548_86c3_38902c2f3301["slash()"] 4851a5b1_b57c_b296_fcb9_09bf9e342db3 -->|calls| f094d39d_cd97_2548_86c3_38902c2f3301 style 4851a5b1_b57c_b296_fcb9_09bf9e342db3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/vite/src/node/plugins/pluginFilter.ts lines 27–34
function getMatcherString(glob: string, cwd: string) {
if (glob.startsWith('**') || path.isAbsolute(glob)) {
return slash(glob)
}
const resolved = path.join(cwd, glob)
return slash(resolved)
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does getMatcherString() do?
getMatcherString() is a function in the vite codebase, defined in packages/vite/src/node/plugins/pluginFilter.ts.
Where is getMatcherString() defined?
getMatcherString() is defined in packages/vite/src/node/plugins/pluginFilter.ts at line 27.
What does getMatcherString() call?
getMatcherString() calls 1 function(s): slash.
What calls getMatcherString()?
getMatcherString() is called by 1 function(s): patternToIdFilter.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free