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
locales in moment/dist/locale are still included #33
Comments
Thanks for the heads-up! Looks like Moment 2.25.2+ started publishing locale files under |
Okay, actually, it appears like Moment partially reverted the change in 2.25.3:
I’ve started a discussion about this in moment/moment@0c709ba. @akonyer For now, feel free to just upgrade your Moment.js version to solve this 🙌 |
Awesome, thank you very much. Glad to see that it wasn't something I was doing wrong haha |
Hey, I finally got around to testing this out. I tried 2.25.3 as well as 2.26 and it's not working in either version. Again I'm not sure if I'm doing something wrong here, but I am definitely seeing locates in both the /dist/locales and /locales directory with both of these versions. |
Hey! Apologies, just got back to this. Could you please do these three quick things?
Thanks! Would love to understand how exactly Moment.js is bundled and what’s the best way I can reproduce this. |
|
Hi @iamakulov , I'm using |
Hey, I'm sure I'm doing something wrong here, but even using this plugin with webpack and moment I am still getting the locales directory in my output.
When I look in the node_modules/moment directory, I see two locale folders.
One in the root, and one in dist/locale
I'm not sure why there are two, but no matter what I do the locales in node_moduels/moment/dist/locale are always included.
This seems to only ignore the root node_modules/moment/locale folder.
Any ideas? I'm at a bit of a loss. Thank you very much
The text was updated successfully, but these errors were encountered: