diff options
Diffstat (limited to 'webpack.config.js')
-rw-r--r-- | webpack.config.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webpack.config.js b/webpack.config.js index 061f0d1..cf63880 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,3 +1,4 @@ +const webpack = require('webpack'); const path = require('path'); const ExtractTextPlugin = require('extract-text-webpack-plugin'); @@ -20,6 +21,9 @@ const js = { resolve: { extensions: ['.js', '.jsx'], }, + plugins: [ + new webpack.ContextReplacementPlugin(/moment[\/\\]locale$/, /nl/), + ], }; const style = { |