You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update the README.md file in @vitejs/plugin-legacy to have correct hashes.
Should there also be added an automatic CI test that e.g. checks that the hashes in cspHashes from @vitejs/plugin-legacy exists in the README.md in order to ensure it does not get outdated again?
Reproduction
No response
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered:
Documentation is
Explain in Detail
The third hash listed in https://github.com/vitejs/vite/tree/main/packages/plugin-legacy#content-security-policy, appears to be outdated.
The hashes returned from import { cspHashes } from '@vitejs/plugin-legacy' using v4.0.3:
sha256-MS6/3FCg4WjP9gwgaBGwLpRCY6fZBgwmhVCdrPrNf3E=
sha256-tQjf8gvb2ROOMapIxFvFAYBeUJ0v1HCbOcSmDNXGtDo=
sha256-4y/gEB2/KIwZFTfNqwXJq4olzvmQ0S214m9jwKgNXoc=
sha256-+5XkZFazzJo8n0iOP4ti/cLCMUudTf//Mzkb7xNPXIc=
Related: #12112
Your Suggestion for Changes
Update the README.md file in @vitejs/plugin-legacy to have correct hashes.
Should there also be added an automatic CI test that e.g. checks that the hashes in cspHashes from @vitejs/plugin-legacy exists in the README.md in order to ensure it does not get outdated again?
Reproduction
No response
Steps to reproduce
No response
The text was updated successfully, but these errors were encountered: