diff --git a/vite.config.ts b/vite.config.ts index d156353..2c3749e 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -74,6 +74,7 @@ export default defineConfig({ build: { minify: 'esbuild', cssCodeSplit: false, + chunkSizeWarningLimit: 550, rollupOptions: { output: { // assetFileNames: '[hash][extname]', @@ -82,12 +83,8 @@ export default defineConfig({ assetFileNames: `[hash][extname]`, preserveModules: false, - manualChunks: (id) => { - if (id.includes('node_modules')) { - return 'vendor'; - } else { - return 'app'; - } + manualChunks: () => { + return 'app'; } } }