fix(build): handle unplaced chunks
This commit is contained in:
parent
6e603456d4
commit
7187cac40c
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue