From 0c9091f5e62c19226724c6b2f0812f80d1583341 Mon Sep 17 00:00:00 2001 From: Frost-ZX Date: Sun, 8 Sep 2024 22:53:35 +0800 Subject: [PATCH] =?UTF-8?q?build:=20=E6=9B=B4=E6=96=B0=20@vitejs/plugin-le?= =?UTF-8?q?gacy=20=E6=8F=92=E4=BB=B6=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=85=B3?= =?UTF-8?q?=E9=97=AD=20polyfills?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.js b/vite.config.js index 2859923..725d915 100644 --- a/vite.config.js +++ b/vite.config.js @@ -22,6 +22,7 @@ export default defineConfig({ envPrefix: 'V_ENV_', plugins: [ legacy({ + polyfills: false, renderLegacyChunks: true, renderModernChunks: true, targets: ['defaults', 'not IE 11'],