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

Using 'uglify: true' breaks the output for IE 11 #79

Open
zhaparoff opened this issue Nov 14, 2019 · 0 comments
Open

Using 'uglify: true' breaks the output for IE 11 #79

zhaparoff opened this issue Nov 14, 2019 · 0 comments

Comments

@zhaparoff
Copy link

zhaparoff commented Nov 14, 2019

When uglify: true, output is transformed in the way, which produces runtime errors in IE 11.

For example, undefined check:

typeof varName1 !== "undefined"

is transformed to:

0 !== varName1 

which fails with "Wrong number of arguments or invalid property assignment" error at runtime.

Most likely, related to the mishoo/UglifyJS#2813

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

1 participant