From 504124ef72b975bc0b0bcdff2a3b02fd2cdeae3b Mon Sep 17 00:00:00 2001 From: ssube Date: Sun, 10 Nov 2019 18:20:42 -0600 Subject: [PATCH] fix(build): handle unplaced chunks --- config/rollup.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/rollup.js b/config/rollup.js index 3fbd6ae..421d6f7 100644 --- a/config/rollup.js +++ b/config/rollup.js @@ -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,