From 4033a320d6809c9a0c2552f0ef2bf686c63aa35a Mon Sep 17 00:00:00 2001 From: donaldyu Date: Tue, 14 Nov 2023 01:26:40 +0800 Subject: [PATCH] fix(plugin-legacy): add invoke to modern detector to avoid terser treeshaking (#14968) --- packages/plugin-legacy/README.md | 2 +- packages/plugin-legacy/src/snippets.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/plugin-legacy/README.md b/packages/plugin-legacy/README.md index 0e40ccfe55f121..c2cfa4c45ef659 100644 --- a/packages/plugin-legacy/README.md +++ b/packages/plugin-legacy/README.md @@ -156,7 +156,7 @@ The legacy plugin requires inline scripts for [Safari 10.1 `nomodule` fix](https - `sha256-MS6/3FCg4WjP9gwgaBGwLpRCY6fZBgwmhVCdrPrNf3E=` - `sha256-tQjf8gvb2ROOMapIxFvFAYBeUJ0v1HCbOcSmDNXGtDo=` -- `sha256-4y/gEB2/KIwZFTfNqwXJq4olzvmQ0S214m9jwKgNXoc=` +- `sha256-8uUkKieevHiD3yYtzjkRvyDZWt+uZkBLuGEQWNiV3+c=` - `sha256-+5XkZFazzJo8n0iOP4ti/cLCMUudTf//Mzkb7xNPXIc=`