fix(build): handle unplaced chunks
This commit is contained in:
parent
6d8f716dce
commit
504124ef72
|
@ -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