From 3cda88371e2d50673d4461b30dfdf342338c996b Mon Sep 17 00:00:00 2001 From: landaiqing Date: Sun, 21 Sep 2025 21:54:39 +0800 Subject: [PATCH] :bug: Fixed manual Chunks issue --- frontend/vite.config.ts | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index 0ed2a7c..dd04dc2 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -52,16 +52,6 @@ export default defineConfig(({mode}: { mode: string }): object => { entryFileNames: 'js/[name]-[hash].js', assetFileNames: '[ext]/[name]-[hash].[ext]', compact: true, - manualChunks(id: string) { - // Prettier - if (id.includes('prettier')) { - return 'prettier'; - } - // Vendor - if (id.includes("node_modules")) { - return 'vendor'; - } - } }, } }