Commit f0f237b7 authored by Clement Ho's avatar Clement Ho

Merge branch 'fix-deprecation-warning' into 'master'

Fix deprecation warning when running webpack

See merge request !13656
parents 1c39c76a ad097512
...@@ -170,7 +170,7 @@ var config = { ...@@ -170,7 +170,7 @@ var config = {
if (chunk.name) { if (chunk.name) {
return chunk.name; return chunk.name;
} }
return chunk.modules.map((m) => { return chunk.mapModules((m) => {
var chunkPath = m.request.split('!').pop(); var chunkPath = m.request.split('!').pop();
return path.relative(m.context, chunkPath); return path.relative(m.context, chunkPath);
}).join('_'); }).join('_');
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment