mirror of
https://github.com/redphx/better-xcloud.git
synced 2025-07-31 18:36:44 +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, {})
|
||||
.set('filename', 'styles.css')
|
||||
.set('compress', true)
|
||||
.include('src/assets/css/'))
|
||||
.render();
|
||||
|
||||
|
Reference in New Issue
Block a user