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
Thank you for reporting this bug.
I've checked, indeed adding @babel/plugin-transform-shorthand-properties solves the bug.
It will be fixed when this pr #2467 merged into master.
Any chance you guys can unpublish this broken version? Lots of organizations automatically update their node modules and will be just straight up broken in IE11.
When trying to use date-fns@2.21.2 in IE11, I get the following error:
This error is being caused by node_modules/date-fns/esm/_lib/format/lightFormatters/index.js, which contains
I think that adding @babel/plugin-transform-shorthand-properties to the plugins list in .babelrc.js might solve this issue.
The text was updated successfully, but these errors were encountered: