From a7bc3c3d998a3622021392c16d9111a14715ff91 Mon Sep 17 00:00:00 2001 From: rr- Date: Wed, 30 Mar 2016 23:41:32 +0200 Subject: [PATCH] front/general: fix stripping too much whitespace --- scripts/build-frontend.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/scripts/build-frontend.js b/scripts/build-frontend.js index 1efddf9..08361b5 100644 --- a/scripts/build-frontend.js +++ b/scripts/build-frontend.js @@ -59,7 +59,10 @@ function bundleHtml(config) { fs.writeFileSync( './public/index.htm', minify( - finalHtml, {removeComments: true, collapseWhitespace: true})); + finalHtml, { + removeComments: true, + collapseWhitespace: true, + conservativeCollapse: true})); console.info('Bundled HTML'); }); }