Skip to content

Adapt UglifyJS config for IE10#23770

Merged
Johann-S merged 1 commit intotwbs:v4-devfrom
Herst:patch-6
Aug 31, 2017
Merged

Adapt UglifyJS config for IE10#23770
Johann-S merged 1 commit intotwbs:v4-devfrom
Herst:patch-6

Conversation

@Herst
Copy link
Contributor

@Herst Herst commented Aug 31, 2017

I came across jquery/jquery@0bf499c which links to mishoo/UglifyJS#2198. Apparently the default compression config of UglifyJS possibly produces code incompatible with IE10. I thought that this might possibly be relevant for this project here since IE10 is also supported (as discussed in #21416).

No idea whether this would really change anything in the output, maybe the constructs which would trigger this (something with typeof) aren't even used but better safe than sorry. (Also, it might prevent problems in the future, especially if jQuery should get ditched).

@Johann-S
Copy link
Member

Thank you very much ! 👍 and nice catch
related PR in uglify : mishoo/UglifyJS#2201

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