From 93c8d2bb3a2b3ad0fba5b790d2856c9cf0e222b0 Mon Sep 17 00:00:00 2001 From: Christian Schiffler Date: Wed, 1 Jun 2022 15:41:45 +0200 Subject: [PATCH] Run multiple minify passes --- build/build.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build/build.js b/build/build.js index cd0bf78..dca98ec 100644 --- a/build/build.js +++ b/build/build.js @@ -57,8 +57,7 @@ function buildEntry (config) { properties: true, dead_code: true, conditionals: true, - reduce_vars: true, - keep_fnames: true + passes: 10, }, sourceMap: { filename: path.basename(outConfig.file),