Conversation
✅ Deploy Preview for rsbuild ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull Request Overview
This PR upgrades SWC plugins to version 47 and switches to a canary version of Rspack core for testing purposes.
Key Changes:
- Upgraded
@swc/plugin-prefreshfrom^10.0.0to^11.1.0 - Upgraded
@swc/plugin-remove-consolefrom^10.0.0to^11.0.0 - Replaced
@rspack/core@1.6.4with canary version@rspack-canary/core@1.6.5-canary-57e2a56d-20251120152633
Reviewed Changes
Copilot reviewed 10 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pnpm-lock.yaml | Updated lockfile with new SWC plugin versions (11.1.0) and added rspack-canary package entries with platform-specific bindings |
| packages/core/package.json | Changed @rspack/core dependency to use npm alias pointing to canary version |
| packages/plugin-preact/package.json | Updated @swc/plugin-prefresh from ^10.0.0 to ^11.1.0 |
| e2e/cases/swc-plugin/package.json | Updated @swc/plugin-remove-console from ^10.0.0 to ^11.0.0 |
| packages//tests/snapshots/.snap | Updated snapshot tests to reflect loader path changes from @rspack/core to @rspack-canary/core |
Files not reviewed (1)
- pnpm-lock.yaml: Language not supported
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| "type": "module", | ||
| "dependencies": { | ||
| "@swc/plugin-remove-console": "^10.0.0" | ||
| "@swc/plugin-remove-console": "^11.0.0" |
There was a problem hiding this comment.
[nitpick] The version specifier ^11.0.0 is inconsistent with other SWC plugin updates in this PR. The @swc/plugin-prefresh in packages/plugin-preact/package.json uses ^11.1.0, and the lockfile resolves this to 11.1.0. Consider updating to ^11.1.0 for consistency across the codebase.
| "@swc/plugin-remove-console": "^11.0.0" | |
| "@swc/plugin-remove-console": "^11.1.0" |

Summary
Bump Rspack / SWC and release canary for rstest.
Related Links
web-infra-dev/rspack#12253
Checklist