Skip to content
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

Add instructions for using moment-timezone with webpack #584

Merged
merged 1 commit into from
May 13, 2020

Conversation

gilmoreorless
Copy link
Member

@gilmoreorless gilmoreorless commented Jun 21, 2019

This is pretty much a copy of the webpack usage docs at https://momentjs.com/docs/#/use-it/webpack, but with a different note about how to reduce the size of the bundled data.

This partially resolves moment/moment-timezone#715, but doesn't mention the ES module syntax. I figured that adding ES usage should be a separate pull request, as it affects more than just webpack usage.

(Disclosure: I wrote the webpack plugin that’s mentioned in the page, so this is sort-of self promotion...)

@marwahaha marwahaha merged commit b90098f into moment:master May 13, 2020
@marwahaha
Copy link
Member

Thanks!

@gilmoreorless gilmoreorless deleted the tz-webpack-info branch May 13, 2020 09:23
@gilmoreorless gilmoreorless restored the tz-webpack-info branch January 5, 2023 10:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Provide builds & instructions for usage in a ES / Webpack environment
2 participants