summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-03-01 15:47:52 -0600
committerMike Greiling <mike@pixelcog.com>2017-03-03 16:47:38 -0600
commite80fa69895dadfbd5cdc95f7feb9593cfe52e9b6 (patch)
treea02ad3053fdc41c9556a6e7c214355d8389ae0dc
parent02504f2f9c8f0316b9235121f9677a998136bfc4 (diff)
downloadgitlab-ce-e80fa69895dadfbd5cdc95f7feb9593cfe52e9b6.tar.gz
update plugin formatting
-rw-r--r--config/webpack.config.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index d06f7733945..cbf59276dce 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -82,7 +82,10 @@ var config = {
modules: false,
assets: true
}),
+
+ // prevent pikaday from including moment.js
new webpack.IgnorePlugin(/moment/, /pikaday/),
+
// use deterministic module ids in all environments
IS_PRODUCTION ?
new webpack.HashedModuleIdsPlugin() :