From 7187cac40c2e5bc73363d5fb609bc7a9b2b67465 Mon Sep 17 00:00:00 2001 From: ssube Date: Sun, 10 Nov 2019 18:20:14 -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,