aboutsummaryrefslogtreecommitdiff
path: root/webpack.config.d
diff options
context:
space:
mode:
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"
+}));