Skip to content

chore: update SubresourceIntegrityPlugin reference#6803

Merged
chenjiahan merged 1 commit intomainfrom
sri_ref_1218
Dec 18, 2025
Merged

chore: update SubresourceIntegrityPlugin reference#6803
chenjiahan merged 1 commit intomainfrom
sri_ref_1218

Conversation

@chenjiahan
Copy link
Copy Markdown
Member

Summary

Updated the usage of SubresourceIntegrityPlugin from rspack.experiments.SubresourceIntegrityPlugin to rspack.SubresourceIntegrityPlugin

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings December 18, 2025 03:04
@netlify
Copy link
Copy Markdown

netlify bot commented Dec 18, 2025

Deploy Preview for rsbuild ready!

Name Link
🔨 Latest commit 382a899
🔍 Latest deploy log https://app.netlify.com/projects/rsbuild/deploys/69436f2b786d2e0007ffaa21
😎 Deploy Preview https://deploy-preview-6803--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: 69 (no change 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
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 updates the SubresourceIntegrityPlugin reference in Rsbuild to align with the Rspack API change that moved the plugin from the experimental namespace to the main API surface. This follows the upstream change in Rspack PR #12483.

  • Updates SubresourceIntegrityPlugin instantiation from rspack.experiments.SubresourceIntegrityPlugin to rspack.SubresourceIntegrityPlugin
  • Corrects an unrelated test description for lazy compilation configuration

Reviewed changes

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

File Description
packages/core/src/plugins/sri.ts Updates SubresourceIntegrityPlugin reference from experimental to stable API
e2e/cases/lazy-compilation/basic/index.test.ts Corrects test description to match actual configuration path being tested

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

@chenjiahan chenjiahan merged commit 0bfd847 into main Dec 18, 2025
18 checks passed
@chenjiahan chenjiahan deleted the sri_ref_1218 branch December 18, 2025 03:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants