Skip to content

Commit

Permalink
chore: update minifier
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeed committed Sep 25, 2018
1 parent 86dd307 commit ca9481d
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 @@ -17,7 +17,7 @@ mkdir('dist').then(_ => {
fs.writeFileSync(pkg.main, data);

// Uglify & print gzip size
const { code } = minify(data);
const { code } = minify(data, { toplevel:true });
const int = sizer.sync(code);
console.log(`> gzip size: ${pretty(int)}`);

Expand Down

0 comments on commit ca9481d

Please sign in to comment.