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 398bdbd commit 3f1669b
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 @@ -9,6 +9,7 @@ v1.6.0 [unreleased]
- [#202](https://github.com/latera/homs/pull/202) Remove mount configs from docker-compose and set postgres version.
- [#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.
- [#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 3f1669b

Please sign in to comment.