Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Added a link to the official /*#__PURE__*/ annotation specification.

Checklist

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

Copilot AI review requested due to automatic review settings January 5, 2026 06:48
@gemini-code-assist
Copy link

Important

Installation incomplete: to start using Gemini Code Assist, please ask the organization owner(s) to visit the Gemini Code Assist Admin Console and sign the Terms of Services.

@netlify
Copy link

netlify bot commented Jan 5, 2026

Deploy Preview for rspack ready!

Name Link
🔨 Latest commit 1860791
🔍 Latest deploy log https://app.netlify.com/projects/rspack/deploys/695b5ed3954fbc00087f94e7
😎 Deploy Preview https://deploy-preview-12624--rspack.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.

@github-actions github-actions bot added team The issue/pr is created by the member of Rspack. release: document release: document related release(mr only) labels Jan 5, 2026
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 adds a reference link to the official /*#__PURE__*/ annotation specification in the tree-shaking documentation, making it easier for users to access detailed information about this compiler notation.

  • Converts plain text mention of /*#__PURE__*/ to a markdown link pointing to the official specification
  • Applies the change consistently across both English and Chinese documentation

Reviewed changes

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

File Description
website/docs/en/guide/optimization/tree-shaking.mdx Added link to pure annotation spec in English docs
website/docs/zh/guide/optimization/tree-shaking.mdx Added link to pure annotation spec in Chinese docs

The changes in this PR are straightforward and well-executed. The link to the official specification is correctly formatted using markdown syntax, and the changes have been consistently applied to both the English and Chinese versions of the documentation. The link points to the appropriate GitHub repository containing the compiler notations specification. No issues were identified during the review.


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

@chenjiahan chenjiahan merged commit fc645a0 into main Jan 5, 2026
35 checks passed
@chenjiahan chenjiahan deleted the pure_annotation_link_0105 branch January 5, 2026 06:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release: document release: document related release(mr only) team The issue/pr is created by the member of Rspack.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants