aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.d
diff options
context:
space:
mode:
authorRobbie Cronin <robert.cronin@uqconnect.edu.au>2019-05-08 17:49:34 +0800
committerRobbie Cronin <robert.cronin@uqconnect.edu.au>2019-05-08 17:49:34 +0800
commit18c55ed56d8e16dc5e78abb29455865ef2ad57cc (patch)
tree73643a518397110dc0fb6fe1f7f546cc2b3a7133 /webpack.config.d
parente1846905b0d0a3e54e798683fd468832eff71084 (diff)
downloadkvision-18c55ed56d8e16dc5e78abb29455865ef2ad57cc.tar.gz
kvision-18c55ed56d8e16dc5e78abb29455865ef2ad57cc.tar.bz2
kvision-18c55ed56d8e16dc5e78abb29455865ef2ad57cc.zip
add moment.js to webpack config
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"
+}));