From 64da2b069515f9c6f3c1e127c0614860c3214f75 Mon Sep 17 00:00:00 2001 From: Luke Edwards Date: Wed, 24 Apr 2019 22:25:16 -0700 Subject: [PATCH] chore: more compression --- builder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder.js b/builder.js index fbb36b8..55bc954 100644 --- a/builder.js +++ b/builder.js @@ -20,7 +20,7 @@ mkdir('dist').then(() => { fs.writeFileSync(pkg.main, CJS); // Minify & print gzip-size - const { code } = minify(CJS, { toplevel:true }); + const { code } = minify(CJS, { toplevel:true, compress:{ passes:10 } }); console.log(`> gzip size: ${pretty(sizer.sync(code))}`); // Write UMD bundle