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

HOMS-248 Remove extra locales from moment.js #207

Merged
merged 1 commit into from
Nov 12, 2018
Merged

HOMS-248 Remove extra locales from moment.js #207

merged 1 commit into from
Nov 12, 2018

Conversation

mxsmirnoff
Copy link
Contributor

No description provided.

@@ -13,6 +13,8 @@ environment.plugins.prepend('Provide', new webpack.ProvidePlugin({
})
);

environment.plugins.prepend('moment',new webpack.ContextReplacementPlugin(/moment[/\\]locale$/, /ru/));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We support 2 locales right now: ru and en

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

en is default and does not have separate file
moment/moment#3624 (comment)

@mxsmirnoff mxsmirnoff merged commit 5e4fba2 into master Nov 12, 2018
@mxsmirnoff mxsmirnoff deleted the HOMS-248 branch November 12, 2018 14:16
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