Skip to content

Use config file for UglifyJS to ensure same behavior#22990

Merged
Johann-S merged 2 commits intov4-devfrom
uglifyjs-config
Jul 5, 2017
Merged

Use config file for UglifyJS to ensure same behavior#22990
Johann-S merged 2 commits intov4-devfrom
uglifyjs-config

Conversation

@Johann-S
Copy link
Member

@Johann-S Johann-S commented Jul 4, 2017

Described here : mishoo/UglifyJS#2200
But when I try to minify our JS on my laptop (with Windows 10) UglifyJS don't remove comments.
So the solution which was suggested to me is to use a json config file to ensure UglifyJS will have the same behavior on every environments.

/CC @mdo @bardiharborow

@Johann-S Johann-S merged commit 88b2e22 into v4-dev Jul 5, 2017
@Johann-S Johann-S deleted the uglifyjs-config branch July 5, 2017 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants