feat!: use "rspack" as default trustedTypes policy name#12799
Conversation
Change the default value of `output.trustedTypes.policyName` from "webpack" to "rspack" to better reflect the bundler being used.
✅ Deploy Preview for rspack-v2 ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Deploying rspack-v2 with
|
| Latest commit: |
14402a1
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://2b6c29ec.rspack-v2.pages.dev |
| Branch Preview URL: | https://feat-use-rspack-as-default-t.rspack-v2.pages.dev |
Rsdoctor Bundle Diff AnalysisFound 5 projects in monorepo, 5 projects with changes. 📊 Quick Summary
📋 Detailed Reports (Click to expand)📁 react-10kPath:
📦 Download Diff Report: react-10k Bundle Diff 📁 react-1kPath:
📦 Download Diff Report: react-1k Bundle Diff 📁 react-5kPath:
📦 Download Diff Report: react-5k Bundle Diff 📁 romePath:
📦 Download Diff Report: rome Bundle Diff 📁 ui-componentsPath:
📦 Download Diff Report: ui-components Bundle Diff Generated by Rsdoctor GitHub Action |
📦 Binary Size-limit
🎉 Size decreased by 318.50KB from 47.99MB to 47.68MB (⬇️0.65%) |
Merging this PR will not alter performance
Comparing Footnotes
|
Summary
Change the default value of
output.trustedTypes.policyNamefrom"webpack"to"rspack"to better reflect the bundler being used.When using Trusted Types with Rspack, the default policy name should be
"rspack"instead of"webpack"for consistency and clarity.Checklist