From 19534b4770b4f4097b02f5fa021a24822b12d907 Mon Sep 17 00:00:00 2001 From: Noah Loomans Date: Fri, 26 Jan 2018 20:30:34 +0100 Subject: Add week selector --- webpack.config.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'webpack.config.js') 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 = { -- cgit v1.1