webpack-contrib / webpack-hot-middleware

Webpack hot reloading you can attach to your own server
MIT License
2.34k stars 296 forks source link

chore: Correct stats generation in webpack 5 #452

Open sergiocarracedo opened 3 months ago

sergiocarracedo commented 3 months ago

This PR contains a:

Motivation / Use-Case

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

Additional Info

linux-foundation-easycla[bot] commented 3 months ago

CLA Signed


The committers listed above are authorized under a signed CLA.

alexander-akait commented 3 months ago

Can you accept CLA?