From 3e1753da23e60cd1612267f276d3924a30bf57ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9B=A8=E9=9C=96=E9=93=83?= Date: Fri, 22 May 2026 00:57:01 +0800 Subject: [PATCH] =?UTF-8?q?=E7=A7=BB=E9=99=A4=20wxt.config.ts=20=E4=B8=AD?= =?UTF-8?q?=E6=AE=8B=E7=95=99=E7=9A=84=20MUI=20chunk=20=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- wxt.config.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/wxt.config.ts b/wxt.config.ts index e0b2495..bfe31e0 100644 --- a/wxt.config.ts +++ b/wxt.config.ts @@ -21,16 +21,6 @@ function manualChunksForHtmlOnly(): Plugin { if (id.includes('/react-dom/') || (id.includes('/react/') && !id.includes('/react-dom/'))) { return 'vendor-react'; } - // MUI + Emotion - if ( - id.includes('@mui/') || - id.includes('@emotion/') || - id.includes('hoist-non-react-statics') || - id.includes('csstype') || - id.includes('@popperjs/') - ) { - return 'vendor-mui'; - } // 国际化 if ( id.includes('i18next') ||