-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Document the options #67
Comments
Ok, I found the solution, just use tree = uglify(tree, { uglify: { output: { comments: 'some' } }}); However I come to this conclusion by reading the package.json dependencies and going to the uglify repo and reading the documentation, praising them to be compatible. I still think you should at least that an external documentation should be checked. Regards |
@danielo515 did you see https://github.com/ember-cli/broccoli-uglify-sourcemap#usage? is that not enough? we're always open to suggestions and PRs to improve the documentation :) |
Hello @Turbo87 |
it's all the options that uglifyjs itself accepts, since that options hash is essentially just forwarded. I thought that would be clear from the code snippet, but apparently not. Can you open a PR explaining that and adding a link to the uglifyjs (or now |
Which options are supported ? There is no documentation about that.
I want to pass an option to uglify to not remove comments. How can I do it ?
Regards
The text was updated successfully, but these errors were encountered: