Fixed broken css build
This commit is contained in:
1 parent
87a4a1949b
commit
328945fbdc
7 files changed
+12
-57
No files matched your search
@@ -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;
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user