Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Any way to shut off the WARN output under node.js #11

Closed
EyePulp opened this issue Oct 11, 2012 · 1 comment
Closed

Any way to shut off the WARN output under node.js #11

EyePulp opened this issue Oct 11, 2012 · 1 comment

Comments

@EyePulp
Copy link

EyePulp commented Oct 11, 2012

Howdy;
I'm using this directly in a node app, and notice it's pretty chatty on the command line with various
WARNings - I do want to see those warnings on occasion, but I'd like to turn them off under production use. Here's how I'm calling things (I'm trying a few different keywords in the options to figure this out myself - I realize they don't work =)

uglify.minify(js_file_list,{'mangle':true,'verbose':false,'stats':false,'warnings':false}).code
@mishoo mishoo closed this as completed in f322b32 Oct 11, 2012
@EyePulp
Copy link
Author

EyePulp commented Oct 11, 2012

Cool! Thanks much. The new uglify seems to handle corner cases better than the old one. Great work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants