-
Notifications
You must be signed in to change notification settings - Fork 27k
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
Create example for using Next.js with IE11 #975
Comments
I think you have to a promise polyfill via webpack config. Check this out for options: Here you can see how to custom configure webpack with next: |
But how is it that all the other examples I've tried so far, don't show this behaviour? I assume Promises are used heavily by next.js, so if Promises support is entirely missing this error would surface everywhere or not? |
not sure about it, but caniuse shows that Promises are not supported by IE11: |
Weird. We normally push a Promise polyfill. I'd like to invest on this. |
Going to have a look this weekend. |
@timneutkens was wondering if you had the time to investigate this issue? I have to meet a deadline by the end of the month and would appreciate if you could let me know whether this issue is likely going to be resolved soon? |
Haven't had a look yet, some other stuff came up. I'll set a reminder for tonight. |
@schuma7 Have a look at the PR above 😄 |
Okay. Here's what's happening. So, I'm going to use our exising core-js polyfill as it's used inside our babel transformed code. |
Thanks guys, great to see this resolved without having to add an extra polyfill! |
Hi everyone,
I am currently evaluating next.js for one of my client projects. While playing around with the Redux sample under https://github.com/zeit/next.js/tree/master/examples/with-redux I noticed that it throws the following error under IE11:
The other examples that I've tried don't seem to throw this error and they also make use of Promise inside of commons.js. Does anyone have any pointers on how to resolve this?
Regards,
Sven
The text was updated successfully, but these errors were encountered: