Skip to content

docs: enhance migration guide for resolved config#5638

Merged
chenjiahan merged 1 commit intomainfrom
migration_doc_0720
Jul 20, 2025
Merged

docs: enhance migration guide for resolved config#5638
chenjiahan merged 1 commit intomainfrom
migration_doc_0720

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

This pull request updates the migration guides to provide an example to guide users in migrating the configResolved hook and apply property to Rsbuild plugin.

Checklist

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

Copilot AI review requested due to automatic review settings July 20, 2025 12:34
Copy link
Copy Markdown
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 enhances the migration guide for Vite plugins to Rsbuild by adding documentation for migrating the configResolved hook and apply property. The changes improve the comprehensiveness of the migration guide by covering additional commonly used Vite plugin features.

  • Adds migration examples for the configResolved hook using api.getNormalizedConfig()
  • Adds migration examples for the apply property showing compatibility between Vite and Rsbuild
  • Minor improvements to existing documentation text and link formatting

Reviewed Changes

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

File Description
website/docs/zh/guide/migration/vite-plugin.mdx Chinese version - adds configResolved and apply property migration examples with improved text
website/docs/en/guide/migration/vite-plugin.mdx English version - adds configResolved and apply property migration examples with improved text

Comment thread website/docs/zh/guide/migration/vite-plugin.mdx
Comment thread website/docs/en/guide/migration/vite-plugin.mdx
@netlify
Copy link
Copy Markdown

netlify Bot commented Jul 20, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 0c5264f
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/687ce26cdfc97a0008c25804
😎 Deploy Preview https://deploy-preview-5638--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: 85 (🟢 up 15 from production)
Accessibility: 97 (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.

@chenjiahan chenjiahan merged commit 8688d2d into main Jul 20, 2025
12 checks passed
@chenjiahan chenjiahan deleted the migration_doc_0720 branch July 20, 2025 12:37
@chenjiahan chenjiahan mentioned this pull request Jul 22, 2025
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