Skip to content

Support Rspack 2.2.9's built-in SWC loader - #30

Merged
sidx1024 merged 1 commit into
sidx1024:mainfrom
aditya-keri-apollo:FPLAT-1355/feat/react-jitter-rspack-2
Oct 29, 2026
Merged

sidx1024 merged 1 commit into
sidx1024:mainfrom
aditya-keri-apollo:FPLAT-1355/feat/react-jitter-rspack-2

Conversation

@aditya-keri-apollo

@aditya-keri-apollo aditya-keri-apollo commented Oct 29, 2026 •

Copy link
Copy Markdown
Contributor

Why

React Jitter 0.6.0 fails with Rspack 2.2.9's builtin:swc-loader:

Failed to deserialize program received from host

Changes

Updated swc_core to 82, adapted the function-body APIs, enabled swc_ast_unknown, and rebuilt the WASM plugin. Updated the standalone SWC test compiler and added a changeset for 0.7.0, following the approach in #27.

Standalone users also need a compatible SWC compiler. The rebuilt plugin passed with @swc/core 1.16.1 and 1.16.20; the tested 1.15.0 and 1.15.41 hosts failed.

@sidx1024
sidx1024 marked this pull request as ready for review October 29, 2026 05:39
@sidx1024
sidx1024 merged commit ea1c150 into sidx1024:main Oct 29, 2026
2 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.

2 participants