From add099b89d9f909afa3647e4d57577d314a714b4 Mon Sep 17 00:00:00 2001 From: Steven Date: Thu, 5 Jun 2025 23:09:15 +0800 Subject: [PATCH] chore: update rollup options --- web/vite.config.ts | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/web/vite.config.ts b/web/vite.config.ts index aa792e76..d3c60128 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -47,15 +47,10 @@ export default defineConfig({ build: { rollupOptions: { output: { - entryFileNames: "assets/app.[hash].js", - chunkFileNames: "assets/[name].[hash].js", - assetFileNames: "assets/[name].[hash][extname]", manualChunks: { - "react-vendor": ["react", "react-dom", "react-router-dom"], "mui-vendor": ["@mui/joy", "@emotion/react", "@emotion/styled"], - "utils-vendor": ["dayjs", "lodash-es", "mobx", "mobx-react-lite"], + "utils-vendor": ["dayjs", "lodash-es"], "katex-vendor": ["katex"], - "highlight-vendor": ["highlight.js"], "mermaid-vendor": ["mermaid"], "leaflet-vendor": ["leaflet", "react-leaflet"], },