soundcloud / chunk-manifest-webpack-plugin

Allows exporting a manifest that maps entry chunk names to their output files, instead of keeping the mapping inside the webpack bootstrap.
MIT License
394 stars 73 forks source link

Fix Webpack v3.4.0 compatibility issue #46

Closed logicalicy closed 7 years ago

logicalicy commented 7 years ago

Summary

Chunk.entry has been deprecated and any attempt at accessing it throws an error.

This fixes an issue found while creating a bundle with Webpack v3.4.0:

ERROR in chunk vendor [entry]
js/vendor.[hash].js
Chunk.entry was removed. Use hasRuntime()

Among other issues that may be related to this issue: #43, #45.

lostthetrail commented 7 years ago

@logicalicy +1 @diurnalist Can we get this reviewed and potentially patched?

diurnalist commented 7 years ago

Thanks for the patch. We merged #44, which solves the same problem.