aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.d
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@finn.pl>2019-05-13 15:31:14 +0200
committerRobert Jaros <rjaros@finn.pl>2019-05-13 15:31:14 +0200
commit1033041bb1b77fac4944beea2089dd6b897f56b1 (patch)
tree745bb7b2de0c6b6f82da52347bd360469209876c /webpack.config.d
parent6416ab05253ee96647541efa9521ff6ec84d8826 (diff)
parent70e5bfa3a4057dc1610e823d4846c66d6ca91f6f (diff)
downloadkvision-1033041bb1b77fac4944beea2089dd6b897f56b1.tar.gz
kvision-1033041bb1b77fac4944beea2089dd6b897f56b1.tar.bz2
kvision-1033041bb1b77fac4944beea2089dd6b897f56b1.zip
Merge remote-tracking branch 'origin/master'
Diffstat (limited to 'webpack.config.d')
-rw-r--r--webpack.config.d/moment.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/webpack.config.d/moment.js b/webpack.config.d/moment.js
new file mode 100644
index 00000000..e8db2ea0
--- /dev/null
+++ b/webpack.config.d/moment.js
@@ -0,0 +1,4 @@
+config.plugins.push(new webpack.ProvidePlugin({
+ moment: "moment",
+ "window.moment": "moment"
+}));