Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Nov 21, 2025

Summary

Bump Rspack / SWC and release canary for rstest.

Related Links

web-infra-dev/rspack#12253

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

Copilot AI review requested due to automatic review settings November 21, 2025 04:08
@9aoy 9aoy marked this pull request as draft November 21, 2025 04:09
@netlify
Copy link

netlify bot commented Nov 21, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 6d720ae
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/691ff411dda12d0008b10f90
😎 Deploy Preview https://deploy-preview-6625--rsbuild.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 57 (🔴 down 13 from production)
Accessibility: 100 (no change from production)
Best Practices: 100 (no change from production)
SEO: 100 (no change from production)
PWA: 60 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot finished reviewing on behalf of 9aoy November 21, 2025 04:10
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-prefresh from ^10.0.0 to ^11.1.0
  • Upgraded @swc/plugin-remove-console from ^10.0.0 to ^11.0.0
  • Replaced @rspack/[email protected] with canary version @rspack-canary/[email protected]

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"
Copy link

Copilot AI Nov 21, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[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.

Suggested change
"@swc/plugin-remove-console": "^11.0.0"
"@swc/plugin-remove-console": "^11.1.0"

Copilot uses AI. Check for mistakes.
@github-actions
Copy link
Contributor

github-actions bot commented Nov 21, 2025

📝 Rsbuild Ecosystem CI: Open

suite result
rslib ❌ failure
rstest ✅ success
examples ❌ failure
rspress ✅ success
plugins ✅ success
modernjs ❌ failure

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