Chromium Code Reviews
DescriptionMD Downloads/History: make javascript uglier and more compact
This CL removes the --beautify option from the uglifyjs step in
vulcanize.py. This reduces resource size at the cost of code
readability.
Before:
$ du -sh chrome/browser/resources/md_*/*crisper.js
208K chrome/browser/resources/md_downloads/crisper.js
168K chrome/browser/resources/md_history/app.crisper.js
100K chrome/browser/resources/md_history/lazy_load.crisper.js
After:
$ du -sh chrome/browser/resources/md_*/*crisper.js
156K chrome/browser/resources/md_downloads/crisper.js
128K chrome/browser/resources/md_history/app.crisper.js
76K chrome/browser/resources/md_history/lazy_load.crisper.js
Seems to save 52K for downloads and 64K for history's resources.
R=tsergeant@chromium.org
BUG=629710
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:closure_compilation
Committed: https://crrev.com/05f3dc10c223b31bb487259c8515dd93852df4c9
Cr-Commit-Position: refs/heads/master@{#421565}
Patch Set 1 #Patch Set 2 : merge #
Messages
Total messages: 22 (16 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||