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
IE11 error in v2.14.0 #1833
Comments
I have te same error in ie11. |
@jackocnr @jeroenkampinga Using npm #!/usr/bin/env sh
replaceLocale()
{
if test -f "$1" ; then
echo "Replacing [-1] in '$1'."
sed -i -e "s%\[-1\]\:%'-1'\:%" $1
sed -i -e "s%\[1\]\:%'1'\:%" $1
sed -i -e "s%\[0\]\:%'0'\:%" $1
echo "Replaced IE 11 incompatible syntax in '$1'"
else
echo "'$1' does not exist."
fi
}
replaceLocale "node_modules/date-fns/esm/locale/hu/_lib/formatDistance/index.js"
replaceLocale "node_modules/date-fns/locale/hu/_lib/formatDistance/index.js"
|
You can transpile |
ghost
mentioned this issue
Jul 3, 2020
Closed by #1842 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm seeing this error:
When I upgrade from v2.13.0 to v2.14.0.
I'm using the following imports from date-fns:
Here is a screenshot from IE11 devtools - the error is caused by line 10481.
Let me know if there's anything else I can provide.
The text was updated successfully, but these errors were encountered: