summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-02-08 12:33:12 -0600
committerMike Greiling <mike@pixelcog.com>2017-02-09 10:51:36 -0600
commit7b4cd8c9f01ccaa3e07e026de9d1555f4b9edfa1 (patch)
tree433a1d8a2e90380efb5e8e7d1cded4bfd283c02a /config/webpack.config.js
parent534f7f51d53460dea5d6acca5484a6885e2308b7 (diff)
downloadgitlab-ce-7b4cd8c9f01ccaa3e07e026de9d1555f4b9edfa1.tar.gz
exclude node_modules from imports-loader wrapper
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 968c0076eaf..51a51e051a2 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -62,6 +62,7 @@ var config = {
},
{
test: /\.(js|es6)$/,
+ exclude: /node_modules/,
loader: 'imports-loader',
query: 'this=>window'
},