Skip to content

Commit

Permalink
HOMS-248 Remove extra locales from moment.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim Smirnov committed Nov 12, 2018
1 parent bd13ec6 commit d71dbe3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ v1.6.0 [unreleased]
- [#206](https://github.com/latera/homs/pull/206) Use higher order component instead of HBWDeleteIfMixin.
- [#203](https://github.com/latera/homs/pull/203) Allow to unmount widget and replace some glyphicons with FontAwesome.
- [#199](https://github.com/latera/homs/pull/199) Move assets generation to Dockerfiles.
- [#207](https://github.com/latera/homs/pull/207) Remove extra locales from moment.js

### Bugfixes
- [#194](https://github.com/latera/homs/pull/194) Set limit on the number of choices in lookup select from sql requests.
Expand Down
2 changes: 2 additions & 0 deletions config/webpack/shared.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ environment.plugins.prepend('Provide', new webpack.ProvidePlugin({
})
);

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

environment.loaders.append('yaml', yaml);
environment.loaders.append('babel', babel);

Expand Down

0 comments on commit d71dbe3

Please sign in to comment.