fix deprecation warning present during webpack compiles

This commit is contained in:
Mike Greiling 2017-08-21 12:50:06 -05:00
parent 7712e34a2a
commit ad097512c9

View file

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