The stats generation via buildModuleMap uses module.id which doesn't exist in webpack 5 returning just the last module (as the key of the map is always undefined)
Breaking Changes
NONE: Still prioritizing module.id, if it is not defined fallback the value to index or identifier
This PR contains a:
Motivation / Use-Case
The stats generation via
buildModuleMap
usesmodule.id
which doesn't exist in webpack 5 returning just the last module (as the key of the map is alwaysundefined
)Breaking Changes
NONE: Still prioritizing module.id, if it is not defined fallback the value to index or identifier
Additional Info