From d60ed432ce12b25c5b087041c7f5b0a5cae9b125 Mon Sep 17 00:00:00 2001 From: dragongoose Date: Tue, 13 Jun 2023 16:01:06 -0400 Subject: [PATCH] Make page sizes smaller --- vite.config.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index a9e9539..091986a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -19,15 +19,7 @@ export default defineConfig({ } }, build: { - rollupOptions: { - output: { - manualChunks(id) { - if (id.includes('node_modules')) { - return id.toString().split('node_modules/')[1].split('/')[0].toString(); - } - } - } - } + cssCodeSplit: true }, envPrefix: 'SAFETWITCH_', })