1
0
Fork 0

fix(build): handle unplaced chunks

This commit is contained in:
ssube 2019-11-10 18:20:14 -06:00
parent 6e603456d4
commit 7187cac40c
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 6 additions and 0 deletions

View File

@ -52,6 +52,12 @@ const bundle = {
if (id.includes(`${sep}src${sep}`)) {
return 'main';
}
if (debug) {
console.log('file belongs to no chunk', id);
}
return 'nochunk';
},
output: {
dir: targetPath,