-
-
Notifications
You must be signed in to change notification settings - Fork 483
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
Release brokes IE 11 #329
Comments
@rchl WDYT? Could you have a look? |
It does indeed look like default arguments are not transpiled in nuxt. Compiled bundle has this code:
@pi0 Do you have any take on this? Is Nuxt supposed to support IE11? |
BTW. Given that it's not even needed on the client, we could work around that by conditionally requiring it but then I would need to mix |
Nuxt, vue and nuxt-i18n worked perfect in IE 11 before |
Then I wonder why is Nuxt not transpiling that construct... |
I will require it conditionally for now which will fix that problem (and as a bonus, make client bundle tiny bit smaller). I would be vary of mixing |
Sounds good, thanks @rchl |
Version
v5.2.1
Reproduction link
http://ie11.com
Steps to reproduce
nuxt-i18n v5.12.5 adds the
is-https
dependency, which code is not transpiled properly.IE 11 fails in the following line here: (default function arg xForwardedProto = true)
With the following error:
What is expected ?
Works
What is actually happening?
Not working
The text was updated successfully, but these errors were encountered: