diff --git a/webpack.config.js b/webpack.config.js index bc6be14a..58808e4b 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -48,5 +48,6 @@ module.exports = { new webpack.ProvidePlugin({ 'fetch': 'imports?this=>global!exports?global.fetch!isomorphic-fetch' }), + new webpack.ContextReplacementPlugin(/moment[\\\/]locale$/, /^\.\/(en)$/) ] }; \ No newline at end of file