aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.d
diff options
context:
space:
mode:
authorRobert Jaros <rjaros@users.noreply.github.com>2019-05-13 15:18:48 +0200
committerGitHub <noreply@github.com>2019-05-13 15:18:48 +0200
commit70e5bfa3a4057dc1610e823d4846c66d6ca91f6f (patch)
treeece1c4fd5303a3144f011b689ee63fd43561ac24 /webpack.config.d
parent5902d5c3f24e1cd6ca241e3b9589545480eea373 (diff)
parent7d815923590d951d23b6763b2efb771bd32111fe (diff)
downloadkvision-70e5bfa3a4057dc1610e823d4846c66d6ca91f6f.tar.gz
kvision-70e5bfa3a4057dc1610e823d4846c66d6ca91f6f.tar.bz2
kvision-70e5bfa3a4057dc1610e823d4846c66d6ca91f6f.zip
Merge pull request #44 from robert-cronin/master
Add momentjs wrapper to kvision-modules
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"
+}));