Skip to content

docs: add more hooks to migration guide#5397

Merged
chenjiahan merged 1 commit intomainfrom
migration_guide_06112
Jun 11, 2025
Merged

docs: add more hooks to migration guide#5397
chenjiahan merged 1 commit intomainfrom
migration_guide_06112

Conversation

@chenjiahan
Copy link
Member

Summary

Add more hooks to migration guide:

  • Added configEnvironment hook with a link to modifyEnvironmentConfig
  • Expanded the description of transformIndexHtml to include the modifyHTMLTags hook.

Checklist

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

Copilot AI review requested due to automatic review settings June 11, 2025 07:22
@netlify
Copy link

netlify bot commented Jun 11, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 65d4794
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/68492e9e14ab640008abdb37
😎 Deploy Preview https://deploy-preview-5397--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: 83 (🟢 up 9 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.

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 updates the Vite migration guide by adding the new configEnvironment hook and expanding the transformIndexHtml entry to reference the modifyHTMLTags hook.

  • Introduce configEnvironmentmodifyEnvironmentConfig
  • Extend transformIndexHtml to include modifyHTMLTags

Reviewed Changes

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

File Description
website/docs/zh/guide/migration/vite.mdx Added configEnvironment hook and updated HTML hooks
website/docs/en/guide/migration/vite.mdx Added configEnvironment hook and updated HTML hooks

@chenjiahan chenjiahan changed the title docs: docs: add more hooks to migration guide Jun 11, 2025
@chenjiahan chenjiahan merged commit 4b9aff3 into main Jun 11, 2025
13 checks passed
@chenjiahan chenjiahan deleted the migration_guide_06112 branch June 11, 2025 07:26
@chenjiahan chenjiahan mentioned this pull request Jun 26, 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.

1 participant