Skip to content

Loading…

Switch to UglifyJS2 #7

Open
WhyEvenTry opened this Issue · 4 comments

5 participants

@WhyEvenTry

It seems UglifyJS has been pretty much abandoned by the author in favor of UglifyJS2 (https://github.com/mishoo/UglifyJS2), judging from the long list of untouched issues and the lack of commits in the former.

So it seems a switch to the -2 version would be called for?

You may not even need "yuglify" any longer - there is an option to keep certain comments!

"Should you switch to UglifyJs2": http://lisperator.net/blog/should-you-switch-to-uglifyjs2/

@davglass
YUI Library member

It's on my list to do, but it's not a high priority right now.

@davglass davglass was assigned
@dmitris

Would switching to UglifyJS2 give us an option to produce source maps? If so, I would vote for increasing the priority :)
http://lisperator.net/uglifyjs/codegen#source-map

@tehnomaag

Hey, any plans on switching to using uglify-js 2.x versions? I just ran into an issue where Shifter (and thus yuglify) minified the file and produced invalid js syntax. Doesn't happen with same piece of code and uglify-js 2.4.14.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.