You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adding rewrites to a next.js project results in escape-string-regexp being bundled in the client. escape-string-regexp contains arrow functions which is not supported in IE11:
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.
vercel
locked as resolved and limited conversation to collaborators
Feb 2, 2022
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Next.js are you using?
12.0.7
What version of Node.js are you using?
14.17
What browser are you using?
IE11
What operating system are you using?
Windows
How are you deploying your application?
Vercel
Describe the Bug
Adding rewrites to a next.js project results in escape-string-regexp being bundled in the client. escape-string-regexp contains arrow functions which is not supported in IE11:
Expected Behavior
Bundled code to be functional in IE11.
To Reproduce
Enable rewrites:
next.config.js
See main.js in deployed example at:
https://styled-components-swc.vercel.app
Or full source code at:
https://github.com/stefanaxelsson/styled-components-swc
The text was updated successfully, but these errors were encountered: