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

Fix deprecation warning when running webpack

See merge request !13656
This commit is contained in:
Clement Ho 2017-08-25 17:24:15 +00:00
commit f0f237b771
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,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('_');