fix(webpack): find asset modules of chunk (#198)

This commit is contained in:
Ahad Birang 2021-06-14 14:07:54 +04:30 committed by GitHub
parent 7c85daa64e
commit 8740ece29e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -102,7 +102,7 @@ export default class VueSSRClientPlugin {
// Find all asset modules associated with the same chunk
assetModules.forEach((m) => {
if (m.chunks.incudes(cid)) {
if (m.chunks.includes(cid)) {
files.push.apply(files, m.assets.map(fileToIndex))
}
})