You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know of a way to check whether a chunk has entry modules without calling hasEntryModule(), and also don't have a strong desire to research it further since it's just a deprecation warning. If someone knows how to do so, please share.
However, I think that's a webpack 5 only thing, so you would then need to do some sort of webpack version checking (or drop support for 4?) in order to use that. I think. Again, webpack docs are horrible.
[DEP_WEBPACK_CHUNK_HAS_ENTRY_MODULE] DeprecationWarning: Chunk.hasEntryModule: Use new ChunkGraph API
The text was updated successfully, but these errors were encountered: