forked from zulip/zulip
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replace Closure compiler with UglifyJS 2.
Benchmark on my local machine: Minifier | Time | Size ---------|----------|-------- Closure | 30.6 sec | 1012kb UglifyJS | 11.3 sec | 1008kb Time -> Time to run tools/minify-js Size -> Size of static/min Result: 271% speed improvement 3.97% reduction in size Most optimizations are on by default and can be disabled to further decrease the time spend minifying the code base. Fixes zulip#693.
- Loading branch information
Showing
5 changed files
with
10 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters