From e819926cf386e865710400fce95cd6e1da5ce39a Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 27 Aug 2025 12:08:50 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E5=8F=96=E6=B6=88chunks=E5=88=86?= =?UTF-8?q?=E5=89=B2=EF=BC=8C=E9=81=BF=E5=85=8Dcss=E8=A6=86=E7=9B=96?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend_nuxt/nuxt.config.ts | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/frontend_nuxt/nuxt.config.ts b/frontend_nuxt/nuxt.config.ts index 100048f01..ef05410e8 100644 --- a/frontend_nuxt/nuxt.config.ts +++ b/frontend_nuxt/nuxt.config.ts @@ -88,24 +88,24 @@ export default defineNuxtConfig({ vite: { build: { // increase warning limit and split large libraries into separate chunks - chunkSizeWarningLimit: 1024, - rollupOptions: { - output: { - manualChunks(id) { - if (id.includes('node_modules')) { - if (id.includes('vditor')) { - return 'vditor' - } - if (id.includes('echarts')) { - return 'echarts' - } - if (id.includes('highlight.js')) { - return 'highlight' - } - } - }, - }, - }, + // chunkSizeWarningLimit: 1024, + // rollupOptions: { + // output: { + // manualChunks(id) { + // if (id.includes('node_modules')) { + // if (id.includes('vditor')) { + // return 'vditor' + // } + // if (id.includes('echarts')) { + // return 'echarts' + // } + // if (id.includes('highlight.js')) { + // return 'highlight' + // } + // } + // }, + // }, + // }, }, }, })