stripModuleIdHash() — vue Function Reference
Architecture documentation for the stripModuleIdHash() function in util.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 5c64c44e_eb4f_4332_eb2e_5e6e7aa7cd19["stripModuleIdHash()"] a4aaa23d_d810_1245_8cde_5c37b4bd3875["util.ts"] 5c64c44e_eb4f_4332_eb2e_5e6e7aa7cd19 -->|defined in| a4aaa23d_d810_1245_8cde_5c37b4bd3875 ad95ac41_077e_09d3_ca71_cac40d4008b4["apply()"] ad95ac41_077e_09d3_ca71_cac40d4008b4 -->|calls| 5c64c44e_eb4f_4332_eb2e_5e6e7aa7cd19 style 5c64c44e_eb4f_4332_eb2e_5e6e7aa7cd19 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, defined in packages/server-renderer/src/webpack-plugin/util.ts.
Where is stripModuleIdHash() defined?
stripModuleIdHash() is defined in packages/server-renderer/src/webpack-plugin/util.ts at line 60.
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