It worked quite well in Vue 2/Webpack where I had one larger "theme" CSS file and then a small (tens of KB) CSS file for each entry point. import { fileURLToPath, URL } from 'node:url' import { defineConfig } from 'vite' import vue from '@vitejs/plugin-vue' const path = r...
Define separate output files for JS and CSS bundles. Plugin will generate and elements from entry files and copy elements to defined output files. - gedouu/vite-plugin-generate-html