More vite improvements
All checks were successful
/ check-changes (push) Successful in 13s
/ build (push) Successful in 3m35s

This commit is contained in:
Djuri Baars 2024-12-20 17:59:52 +01:00
parent 25258b43a7
commit 20c81628f1

View file

@ -74,6 +74,7 @@ export default defineConfig({
build: {
minify: 'esbuild',
cssCodeSplit: false,
chunkSizeWarningLimit: 550,
rollupOptions: {
output: {
// assetFileNames: '[hash][extname]',
@ -82,15 +83,11 @@ export default defineConfig({
assetFileNames: `[hash][extname]`,
preserveModules: false,
manualChunks: (id) => {
if (id.includes('node_modules')) {
return 'vendor';
} else {
manualChunks: () => {
return 'app';
}
}
}
}
},
css: {
preprocessorOptions: {