-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
SSG doesn't work for IE10 #10587
Comments
Fixed in |
Just to be clear Next.js doesn't officially support IE10. Only IE11 |
Thank you very much |
This issue has been automatically locked due to no recent activity. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Bug report
Sites that use unstable_getServerProps doesn't hydrate, stating unknown keyword "const".
Describe the bug
While transpiling code with unstable_getServerProps, next-ssg-transpile adds "const" declaration
https://github.com/zeit/next.js/blob/082cc68d87854034e95db371af32717d83bad2f6/packages/next/build/babel/plugins/next-ssg-transform.ts#L45
To Reproduce
Build any page with unstable_getServerProps, open it with IE10.
Expected behavior
There's no const, but var instead.
The text was updated successfully, but these errors were encountered: