Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Clarify the relationship between the api.transform parameters and the corresponding Rspack loader APIs by adding explicit references to the relevant API documentation.

Checklist

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

Copilot AI review requested due to automatic review settings June 2, 2025 14:17
@netlify
Copy link

netlify bot commented Jun 2, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 6aac5b6
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/683db2856e883900088f3142
😎 Deploy Preview https://deploy-preview-5347--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: 84 (🟢 up 10 from production)
Accessibility: 97 (no change from production)
Best Practices: 92 (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 enhances the api.transform parameter docs by explicitly linking the resource, resourcePath, and resourceQuery descriptions to their corresponding Rspack loader API entries.

  • Added loader API links for resource, resourcePath, and resourceQuery in both Chinese and English docs.

Reviewed Changes

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

File Description
website/docs/zh/plugins/dev/core.mdx Updated bullets for context, resource, resourcePath, resourceQuery to reference Rspack loader API
website/docs/en/plugins/dev/core.mdx Added “The same as Rspack loader’s…” links for resource, resourcePath, resourceQuery

@chenjiahan chenjiahan merged commit 2075215 into main Jun 2, 2025
12 checks passed
@chenjiahan chenjiahan deleted the transform_params_doc_0603 branch June 2, 2025 23:22
@chenjiahan chenjiahan mentioned this pull request Jun 4, 2025
@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