TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

UglifyJS 3 Released

60 pointsby pastelskyabout 8 years ago

9 comments

tomByrerabout 8 years ago
There is a separate branch for ES2015+ here: <a href="https:&#x2F;&#x2F;github.com&#x2F;mishoo&#x2F;UglifyJS2&#x2F;tree&#x2F;harmony" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mishoo&#x2F;UglifyJS2&#x2F;tree&#x2F;harmony</a><p>The new primary committer, alexlamsl, is good about responding to bugs &amp; pushing out new versions fast: <a href="https:&#x2F;&#x2F;github.com&#x2F;mishoo&#x2F;UglifyJS2&#x2F;issues?q=is%3Aissue+is%3Aopen+label%3Aharmony" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mishoo&#x2F;UglifyJS2&#x2F;issues?q=is%3Aissue+is%3...</a><p>But there is still no CHANGELOG. He is aggressive at updating the docs, so you&#x27;ll have to look at diffs yourself.
kjsthreeabout 8 years ago
You can handle es6+ with the harmony flag but if you&#x27;re already using Babel is there any reason to use Uglify over Babili?<p>I believe Babili generates minified&#x2F;mangled output directly from the Babel AST which would be way more performant during the dev cycle.
评论 #14285690 未加载
评论 #14286458 未加载
评论 #14285957 未加载
sotojuanabout 8 years ago
Definitely not a confusing repository name :-)
scotthabout 8 years ago
What was improved with this release?
评论 #14285532 未加载
评论 #14285728 未加载
评论 #14285499 未加载
imcottonabout 8 years ago
I&#x27;ve switched to google-closure-compiler-js, which eats ES6 by default.
评论 #14285662 未加载
iso-8859-1about 8 years ago
Support for pure annotations was added.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;mishoo&#x2F;UglifyJS2&#x2F;commit&#x2F;1e51586996ae4fdac68a8ea597c20ab170809c43" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mishoo&#x2F;UglifyJS2&#x2F;commit&#x2F;1e51586996ae4fdac...</a><p>This will enable removing unused transpiled classes from e.g. Babel.<p>See <a href="https:&#x2F;&#x2F;github.com&#x2F;mishoo&#x2F;UglifyJS2&#x2F;issues&#x2F;1261" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;mishoo&#x2F;UglifyJS2&#x2F;issues&#x2F;1261</a>
angry-hackerabout 8 years ago
How much does these uglifiers slow down the code for a the client? Especially if you&#x27;re using a mobile or slow arm machine? I started to think about these things when u started using an arm based chromebook. Stupidly bloated js heavy sites started to stand out. Facebook is unusable, slightly better if you disable extensions.
评论 #14286055 未加载
评论 #14286124 未加载
DonHopkinsabout 8 years ago
Syntactic Sugar Sculptures!
Toucheabout 8 years ago
Sadly it still only supports ES5.
评论 #14285993 未加载