Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Nov 24, 2025

Summary

add Configure SWC guide

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings November 24, 2025 03:53
@netlify
Copy link

netlify bot commented Nov 24, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 431fdfb
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/6923e20269ee3a000867f784
😎 Deploy Preview https://deploy-preview-713--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

Copilot finished reviewing on behalf of 9aoy November 24, 2025 03:55
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 pull request adds a new "Configure SWC" documentation section to both English and Chinese versions of the Rstest configuration guide. The addition explains how to configure SWC (Speedy Web Compiler) options in Rstest, which uses Rspack's builtin:swc-loader for JavaScript and TypeScript transformation.

Key Changes:

  • Added comprehensive section on configuring SWC through tools.swc, source.include, and source.exclude options
  • Included practical configuration example demonstrating React and SWC plugin usage
  • Added important warning about SWC plugin version compatibility with Rspack's swc_core

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
website/docs/en/guide/basic/configure-rstest.mdx Added English documentation for "Configure SWC" section with usage examples and plugin version warnings
website/docs/zh/guide/basic/configure-rstest.mdx Added Chinese documentation for "Configure SWC" section with usage examples and plugin version warnings

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@9aoy 9aoy merged commit 14667a9 into main Nov 24, 2025
16 checks passed
@9aoy 9aoy deleted the docs/swc-version branch November 24, 2025 05:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants