From 9b0800fcbfb4fbc262f259a448997580e0ca9c14 Mon Sep 17 00:00:00 2001 From: Ahsan Hassan Date: Sat, 19 Oct 2024 08:26:09 -0600 Subject: [PATCH] Remove manual chunks --- vite.config.js | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/vite.config.js b/vite.config.js index 9360385..56e78b5 100644 --- a/vite.config.js +++ b/vite.config.js @@ -40,21 +40,7 @@ export default defineConfig(({ mode }) => ({ build: { outDir: './build', target: 'esnext', - rollupOptions: { - output: { - manualChunks: (id) => { - if (id.includes('node_modules')) { - if (id.includes('react')) { - return 'vendor__react'; - } - if (id.includes('firebase')) { - return 'vendor__firebase'; - } - return 'vendor'; - } - }, - }, - }, + rollupOptions: {}, }, plugins: [ mode === 'development' && eslint(),