Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Compression options for UglifyJS #41

Merged
merged 3 commits into from
Aug 26, 2016
Merged

Compression options for UglifyJS #41

merged 3 commits into from
Aug 26, 2016

Conversation

RiverSongFox
Copy link
Contributor

I'd like to suggest a solution for #17 and #39. There're default options, which may be overriden if user passes an object with options into compress/uglifyjs instead of just true.

uglifyjs: {
mangle: false,
output: {
ascii_only: true
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In this configuration the comments option is not changed, so it should use the default pattern.

@matz3
Copy link
Contributor

matz3 commented Aug 24, 2016

Thanks for your work!
Please have a look into my comments

@matz3 matz3 added the enhancement New feature or request label Aug 24, 2016
@matz3 matz3 self-assigned this Aug 24, 2016
@matz3
Copy link
Contributor

matz3 commented Aug 26, 2016

Thanks, LGTM 👍

@matz3 matz3 merged commit b2e6c0e into SAP-archive:master Aug 26, 2016
@RiverSongFox RiverSongFox deleted the uglify-params branch September 1, 2016 05:19
@matz3 matz3 removed their assignment Sep 2, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants