Skip to content

Commit

Permalink
chore: more compression
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Apr 25, 2019
1 parent f161f76 commit 64da2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion builder.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64da2b0

Please sign in to comment.