Skip to content

Make offline plugin rspack compatible#28

Merged
b2l merged 2 commits into
masterfrom
feature/rspack-compatibility
Apr 30, 2026
Merged

Make offline plugin rspack compatible#28
b2l merged 2 commits into
masterfrom
feature/rspack-compatibility

Conversation

@b2l
Copy link
Copy Markdown

@b2l b2l commented Apr 30, 2026

Replace afterResolve hook with a static module rule for runtime loader injection.
Rspack ignores createData.loaders mutations in afterResolve, but static rules work in both webpack 5 and Rspack.

@b2l b2l force-pushed the feature/rspack-compatibility branch from 1f83d05 to de603fb Compare April 30, 2026 16:17
@b2l b2l merged commit 8cf5191 into master Apr 30, 2026
6 checks passed
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.

1 participant