Skip to content

[Bug]: Compilation does not export the chunkGroups variable, and using getStats().toJson({ chunkGroups: true }) does not return data with the origins variable included.  #7766

@EzioW

Description

@EzioW

System Info

node version 18
relative package @ecom/pb-route-chunks-preload-plugin

Details

I encountered an API conversion issue while upgrading Rspack and adapting a webpack plugin. After using the recommended approach to retrieve chunkGroups data, I found that some fields were missing.

Reproduce link

No response

Reproduce Steps

install @ecom/pb-route-chunks-preload-plugin for test

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions