Skip to content

Conversation

@OliverJAsh
Copy link

Fixes #104

In webpack v5, assetsByChunkName does not contain dynamic chunks that were generated by splitChunks: webpack/webpack#14433

Therefore we have to find these assets in stats.chunks instead.

@OliverJAsh OliverJAsh force-pushed the webpack-v5-chunk-ids-string-named branch from 4e221af to c54b984 Compare October 8, 2021 17:23
@OliverJAsh OliverJAsh marked this pull request as ready for review October 8, 2021 17:23
@OliverJAsh OliverJAsh closed this Oct 12, 2021
@OliverJAsh OliverJAsh reopened this Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

webpack v5: missing dynamic chunks generated by splitChunks when chunk IDs are strings

1 participant