mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-08-05 12:56:42 +02:00
Compress CSS
This commit is contained in:
@@ -4,6 +4,7 @@ import cssStr from "@assets/css/styles.styl" with { type: "text" };
|
|||||||
|
|
||||||
const generatedCss = await (stylus(cssStr, {})
|
const generatedCss = await (stylus(cssStr, {})
|
||||||
.set('filename', 'styles.css')
|
.set('filename', 'styles.css')
|
||||||
|
.set('compress', true)
|
||||||
.include('src/assets/css/'))
|
.include('src/assets/css/'))
|
||||||
.render();
|
.render();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user