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

Fix webpack caching issue with moment & moment-range #39

Merged
merged 1 commit into from
May 22, 2015

Conversation

walkerburgin
Copy link
Contributor

I ran into an issue when bundling with webpack where "moments" were being created without the functions that "moment-range" adds (specifically without the "within()" function). I think it's an issue with how moment, moment-range, and webpack interact. Changing the import to moment-range here and not relying on moment-range patching moment is how I ended up working around the issue.

@jkimbo
Copy link
Contributor

jkimbo commented May 22, 2015

Nice catch! Thanks!

jkimbo added a commit that referenced this pull request May 22, 2015
Fix webpack caching issue with moment & moment-range
@jkimbo jkimbo merged commit 313b14d into onefinestay:master May 22, 2015
@jkimbo
Copy link
Contributor

jkimbo commented May 22, 2015

Published as v0.8.1

@walkerburgin
Copy link
Contributor Author

Awesome, thanks!

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.

2 participants