From 3ebb72c2c26396b14da9d7547dabfbac802a71bd Mon Sep 17 00:00:00 2001 From: mirdukkkkk Date: Sat, 13 Jan 2024 21:19:30 +0700 Subject: [PATCH] remove by-module division --- vite.config.ts | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 1f2551b..bb67e39 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -10,15 +10,7 @@ export default defineConfig({ input: { main: resolve(__dirname, "index.html"), 404: resolve(__dirname, "404.html"), - }, - output: { - manualChunks(l) { - if(l.includes("node_modules")) { - const a = l.toString().split("node_modules/")[1].split("/")[0] - return a.toString(); - } - } - }, - }, + } + } } });