bundleRenderer.shouldPreload() — vue Function Reference
Architecture documentation for the bundleRenderer.shouldPreload() function in test.ts from the vue codebase.
Entity Profile
Relationship Graph
Source Code
packages/server-renderer/types/test.ts lines 73–84
shouldPreload: (file, type) => {
if (type === 'script' || type === 'style') {
return true
}
if (type === 'font') {
return /\.woff2$/.test(file)
}
if (type === 'image') {
return file === 'hero.jpg'
}
return false
},
Domain
Subdomains
Source
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free