Fixed broken css build

This commit is contained in:
Your Name committed 2025-04-28 01:37:48 +08:00
1 parent 87a4a1949b
commit 328945fbdc
7 files changed
+12 -57

No files matched your search

-20
View File
@@ -1,20 +0,0 @@
import { defineConfig } from 'vite';
export default defineConfig({
server: {
port: 5173,
host: 'localhost',
},
build: {
rollupOptions: {
output: {
assetFileNames: (assetInfo) => {
if (assetInfo.name === 'styles.css') {
return 'output.css';
}
return assetInfo.name;
},
},
},
},
});