From da9ffc680513292292c9a5f73057ead499ea1eac Mon Sep 17 00:00:00 2001 From: karott7 Date: Wed, 31 May 2023 13:58:04 +0800 Subject: [PATCH 1/5] fix(legacy): add test case to ensure correct csp hashes in readme.md --- packages/plugin-legacy/README.md | 2 +- playground/legacy/__tests__/legacy.spec.ts | 4 ++++ playground/legacy/index.html | 1 + playground/legacy/main.js | 2 ++ playground/legacy/vite.config.js | 20 +++++++++++++++++++- 5 files changed, 27 insertions(+), 2 deletions(-) diff --git a/packages/plugin-legacy/README.md b/packages/plugin-legacy/README.md index 5381633aa9a91f..04abcec6a3a4e5 100644 --- a/packages/plugin-legacy/README.md +++ b/packages/plugin-legacy/README.md @@ -159,7 +159,7 @@ The legacy plugin requires inline scripts for [Safari 10.1 `nomodule` fix](https - `sha256-MS6/3FCg4WjP9gwgaBGwLpRCY6fZBgwmhVCdrPrNf3E=` - `sha256-tQjf8gvb2ROOMapIxFvFAYBeUJ0v1HCbOcSmDNXGtDo=` -- `sha256-p7PoC97FO+Lu90RNjGWxhbm13yALSR4xzV8vaDhaQBo=` +- `sha256-4y/gEB2/KIwZFTfNqwXJq4olzvmQ0S214m9jwKgNXoc=` - `sha256-+5XkZFazzJo8n0iOP4ti/cLCMUudTf//Mzkb7xNPXIc=`