build: Update build script to include Tailwind CSS build
This commit is contained in:
1 parent
26e158161b
commit
3a11c97fbf
1 file changed
+12
@@ -5,4 +5,16 @@ export default defineConfig({
|
|||||||
port: 5173,
|
port: 5173,
|
||||||
host: 'localhost',
|
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