Skip to content

[Feature]: support contextReplacementPlugin #7474

@hardfist

Description

@hardfist

What problem does this feature solve?

docusaurus use https://webpack.js.org/plugins/context-replacement-plugin/#root to optimize primjs bundling

What does the proposed API of configuration look like?

same as webpack

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