mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 08:33:53 +00:00
fix(webpack): find asset modules of chunk (#198)
This commit is contained in:
parent
7c85daa64e
commit
8740ece29e
@ -102,7 +102,7 @@ export default class VueSSRClientPlugin {
|
|||||||
|
|
||||||
// Find all asset modules associated with the same chunk
|
// Find all asset modules associated with the same chunk
|
||||||
assetModules.forEach((m) => {
|
assetModules.forEach((m) => {
|
||||||
if (m.chunks.incudes(cid)) {
|
if (m.chunks.includes(cid)) {
|
||||||
files.push.apply(files, m.assets.map(fileToIndex))
|
files.push.apply(files, m.assets.map(fileToIndex))
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user