[x] yes (bugfixes and features will not be merged without tests)
[ ] no
Breaking Changes?
[ ] yes (breaking changes will not be merged unless absolutely necessary)
[x] no
If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
Webpack 5 deprecated a lot of the APIs that exist on chunks, and instead prefers the use of the ChunkGraph API. We have a few places where we use now-deprecated APIs in our usage of the WebpackManifestPlugin, and would like to move those over to using the ChunkGraph API.
This PR passes through the chunkGraph in the generate function
This PR contains:
Are tests included?
Breaking Changes?
If yes, then include "BREAKING CHANGES:" in the first commit message body, followed by a description of what is breaking.
List any relevant issue numbers:
Description
Webpack 5 deprecated a lot of the APIs that exist on chunks, and instead prefers the use of the ChunkGraph API. We have a few places where we use now-deprecated APIs in our usage of the WebpackManifestPlugin, and would like to move those over to using the ChunkGraph API.
This PR passes through the
chunkGraph
in thegenerate
function