Skip to content

docs: add note on missing core-js polyfills#5560

Merged
chenjiahan merged 1 commit intomainfrom
docs_polyfill_0708
Jul 8, 2025
Merged

docs: add note on missing core-js polyfills#5560
chenjiahan merged 1 commit intomainfrom
docs_polyfill_0708

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Improve clarity and provide additional information about missing core-js polyfills.

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings July 8, 2025 05:12
@netlify
Copy link
Copy Markdown

netlify bot commented Jul 8, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 86429e0
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/686ca8bd42132b0008bd6442
😎 Deploy Preview https://deploy-preview-5560--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: 55 (🔴 down 17 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
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 PR improves the browser compatibility guide by standardizing the polyfill section title and adding an explanation of APIs that core-js cannot polyfill.

  • Renamed the “Polyfill mode” section to “Polyfills” in both English and Chinese docs
  • Introduced a “Missing polyfills” subsection detailing unsupported APIs (e.g., Proxy) with a link to the core-js documentation

Reviewed Changes

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

File Description
website/docs/zh/guide/advanced/browser-compatibility.mdx Renamed heading and added a note on missing polyfills in Chinese
website/docs/en/guide/advanced/browser-compatibility.mdx Renamed heading and added a note on missing polyfills in English
Comments suppressed due to low confidence (1)

website/docs/zh/guide/advanced/browser-compatibility.mdx:151

  • [nitpick] The heading in the Chinese documentation has been changed to English (“## Polyfills”), which is inconsistent with the rest of the translation. Please translate this heading into Chinese, for example “## Polyfill 方案”.
## Polyfills

@chenjiahan chenjiahan merged commit 22689d6 into main Jul 8, 2025
13 checks passed
@chenjiahan chenjiahan deleted the docs_polyfill_0708 branch July 8, 2025 05:14
@chenjiahan chenjiahan mentioned this pull request Jul 8, 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