From c85a5bac952cf91645c25e97e9c1a545a2a38493 Mon Sep 17 00:00:00 2001
From: Christoph Reiter <reiter.christoph@gmail.com>
Date: Thu, 23 Apr 2020 09:58:09 +0200
Subject: [PATCH] Enable chunking again, fixed in rollup

---
 rollup.config.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/rollup.config.js b/rollup.config.js
index 63aff45..bd31fb2 100644
--- a/rollup.config.js
+++ b/rollup.config.js
@@ -37,8 +37,7 @@ let pdfAsQualifiedlySigningServer = 'sig-dev.tugraz.at';
 let matomoSiteId = 131;
 let useTerser = true;
 let useBabel = true;
-// https://github.com/rollup/rollup/issues/3499
-let useManualChunks = false;
+let useManualChunks = true;
 
 switch (build) {
   case 'local':
@@ -85,7 +84,6 @@ switch (build) {
 const CHUNK_BLACKLIST = [
   'jszip',  // jszip is a node module by default and rollup chunking is confused by that and emits warnings
   'source-sans-pro',
-  'vpu-app-shell',  // XXX: this breaks rollup bundling, no idea why for now
 ];
 
 /**
-- 
GitLab