Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upOutdated webpack documentation #1697
Comments
|
Considering that these warnings appear for every locale contained within the Regular Expression passed into the |
|
@dkozickis Here you go repo. |
|
Thanks! I’ll have a look. |
|
Ah wait, so you have a solution @psimk :D Would you like to do a quick PR? |
|
Any ona has a correct configuration for this? |
|
@pawel-marciniak I've just enabled GitHub Discussions and I encourage you to ask the question here: https://github.com/date-fns/date-fns/discussions. Please make sure you include a description of your problem. |
It seems like the webpack documentation is currently out of date.
For one, it references a locale, which was available in pre v2 versions of
date-fns(theenlocale to be specific).Furthermore, post v2
date-fnslocales now contain.d.tsand.mdfiles, which make the documentedContextReplacementPluginspit out a nasty warning:P.S. I'd like to end this issue with thanking all the contributors for maintaining this package, it has been really useful on the project I am working on. I hope it gets picked up by more developers!