summaryrefslogtreecommitdiff
path: root/config/webpack.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-08-21 12:50:06 -0500
committerMike Greiling <mike@pixelcog.com>2017-08-25 11:15:42 -0500
commitad097512c9eb918e1fe83f502286fb8fed31ff50 (patch)
tree881cf64aa17da3126f98cd713adb7233b7b8596e /config/webpack.config.js
parent7712e34a2a355cea63be0cb5aed38676b7ae967e (diff)
downloadgitlab-ce-ad097512c9eb918e1fe83f502286fb8fed31ff50.tar.gz
fix deprecation warning present during webpack compiles
Diffstat (limited to 'config/webpack.config.js')
-rw-r--r--config/webpack.config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js
index 6a347c2e660..a75f9e86fd6 100644
--- a/config/webpack.config.js
+++ b/config/webpack.config.js
@@ -171,7 +171,7 @@ var config = {
if (chunk.name) {
return chunk.name;
}
- return chunk.modules.map((m) => {
+ return chunk.mapModules((m) => {
var chunkPath = m.request.split('!').pop();
return path.relative(m.context, chunkPath);
}).join('_');