aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.js
diff options
context:
space:
mode:
authorNoah Loomans <noahloomans@gmail.com>2018-01-26 20:30:34 +0100
committerNoah Loomans <noahloomans@gmail.com>2018-01-26 20:30:34 +0100
commit19534b4770b4f4097b02f5fa021a24822b12d907 (patch)
tree4bc0d8ceca5d0c5ae36969dcd14588f0b37f051b /webpack.config.js
parent16723546de81e29fa8a31acc4070df5acb182b24 (diff)
Add week selector
Diffstat (limited to 'webpack.config.js')
-rw-r--r--webpack.config.js4
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 = {