Skip to content

[Feature]: JsChunkGroup support getModulePreOrderIndex, getModulePostOrderIndex #8548

@GiveMe-A-Name

Description

@GiveMe-A-Name

What problem does this feature solve?

Current, jsChunkGroup struct in rspack is not align with webpack.
jsChunkGroup expected has function: getModulePreOrderIndex, getModulePostOrderIndex.

What does the proposed API of configuration look like?

const preOrder = group.getModulePreOrderIndex(module);
const postOrder = group.getModulePostOrderIndex(module);

Metadata

Metadata

Assignees

Labels

featNew feature or requestteamThe issue/pr is created by the member of Rspack.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions