mirror of
https://github.com/rr-/szurubooru.git
synced 2025-07-17 08:26:24 +00:00
front/general: fix stripping too much whitespace
This commit is contained in:
@ -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');
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user