stripModuleIdHash() — vue Function Reference
Architecture documentation for the stripModuleIdHash() function in util.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD ab6622e9_a024_b496_b29e_8513bae476f0["stripModuleIdHash()"] 74eda736_a9d6_2af5_f33c_09c446bcada2["apply()"] 74eda736_a9d6_2af5_f33c_09c446bcada2 -->|calls| ab6622e9_a024_b496_b29e_8513bae476f0 style ab6622e9_a024_b496_b29e_8513bae476f0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/server-renderer/src/webpack-plugin/util.ts lines 60–67
export const stripModuleIdHash = id => {
if (isWebpack5) {
// Webpack >= 5.0.0
return id.replace(/\|\w+$/, '')
}
// Webpack < 5.0.0
return id.replace(/\s\w+$/, '')
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does stripModuleIdHash() do?
stripModuleIdHash() is a function in the vue codebase.
What calls stripModuleIdHash()?
stripModuleIdHash() is called by 1 function(s): apply.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free