UnoCSS version
0.61.5
Describe the bug
I tried to use the CLI to generate CSS content and captured the output from stdout in my script, but I found the CLI log is also written to the stdout, which makes the output look like this
unocss v0.61.5
◐ UnoCSS for production...
.bg-black{--un-bg-opacity:1;background-color:rgb(0 0 0 / var(--un-bg-opacity)) /* #000 */;}
Reproduction
- File
index.html
<div class="bg-black"></div>
- Run the command
pnpm unocss index.html --stdout > styles.css and inspect the CSS file
System Info
No response
Validations
UnoCSS version
0.61.5
Describe the bug
I tried to use the CLI to generate CSS content and captured the output from stdout in my script, but I found the CLI log is also written to the stdout, which makes the output look like this
Reproduction
index.htmlpnpm unocss index.html --stdout > styles.cssand inspect the CSS fileSystem Info
No response
Validations