Skip to content

Conversation

@chenjiahan
Copy link
Member

Summary

Add documentation about the new integrity field in the manifest file when SRI is enabled. Include examples in documentation.

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings November 24, 2025 11:09
@netlify
Copy link

netlify bot commented Nov 24, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 79cd6ad
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/69243cfe7e4bed0008652c83
😎 Deploy Preview https://deploy-preview-6643--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: 70 (🔴 down 1 from production)
Accessibility: 100 (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 adds documentation for the new integrity field in the manifest file when Subresource Integrity (SRI) is enabled. The changes explain how the manifest file includes SRI hash values for JavaScript and CSS files when the security.sri option is configured.

  • Added cross-references between SRI and manifest documentation
  • Documented the integrity field structure in manifest files with code examples
  • Added version history noting the feature was introduced in v1.6.8

Reviewed changes

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

File Description
website/docs/en/config/security/sri.mdx Added reference to manifest file's integrity field
website/docs/zh/config/security/sri.mdx Added reference to manifest file's integrity field (Chinese)
website/docs/en/config/output/manifest.mdx Added SRI section with configuration example, manifest structure, and version history
website/docs/zh/config/output/manifest.mdx Added SRI section with configuration example, manifest structure, and version history (Chinese)

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

@chenjiahan chenjiahan merged commit 2947064 into main Nov 25, 2025
18 checks passed
@chenjiahan chenjiahan deleted the manifest_sri_doc_1124 branch November 25, 2025 05:50
@chenjiahan chenjiahan mentioned this pull request Nov 25, 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