diff options
author | Robbie Cronin <robert.cronin@uqconnect.edu.au> | 2019-05-08 17:49:34 +0800 |
---|---|---|
committer | Robbie Cronin <robert.cronin@uqconnect.edu.au> | 2019-05-08 17:49:34 +0800 |
commit | 18c55ed56d8e16dc5e78abb29455865ef2ad57cc (patch) | |
tree | 73643a518397110dc0fb6fe1f7f546cc2b3a7133 | |
parent | e1846905b0d0a3e54e798683fd468832eff71084 (diff) | |
download | kvision-18c55ed56d8e16dc5e78abb29455865ef2ad57cc.tar.gz kvision-18c55ed56d8e16dc5e78abb29455865ef2ad57cc.tar.bz2 kvision-18c55ed56d8e16dc5e78abb29455865ef2ad57cc.zip |
add moment.js to webpack config
-rw-r--r-- | webpack.config.d/moment.js | 4 |
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" +})); |