Skip to content

Commit

Permalink
fix(build): handle unplaced chunks
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Nov 11, 2019
1 parent 6e60345 commit 7187cac
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/rollup.js
Expand Up @@ -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,
Expand Down

0 comments on commit 7187cac

Please sign in to comment.