QwikDev/qwik

[๐Ÿž] unocss no work when bun run serve

Closed this issue ยท 6 comments

Which component is affected?

Qwik Runtime

Describe the bug

unocss can work when bun run dev,
but when bun run serve unocss no work

Reproduction

https://github.com/lontten/d10

Steps to reproduce

bun i
bun run build
bun run serve

System Info

System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 Intel(R) Core(TM) i5-10400 CPU @ 2.90GHz
    Memory: 8.93 GB / 31.82 GB
  Binaries:
    Node: 20.12.2 - d:\Program Files\nodejs\node.EXE
    npm: 10.5.0 - d:\Program Files\nodejs\npm.CMD
    pnpm: 9.0.6 - d:\Program Files\nodejs\pnpm.CMD
    bun: 1.1.20 - ~\.bun\bin\bun.EXE
  Browsers:
    Edge: Chromium (126.0.2592.102)
    Internet Explorer: 11.0.22621.3527

Additional Information

No response

when serve No request http://localhost:5173/__uno.css
No error message printed

Thanks for the report @lontten !

@hypecode-tech we like to keep things friendly in our community, so please edit your message to adhere to our community values, thanks.

@lontten do you mean that it's not requesting __uno.css? That is expected, it should be part of the global.css file. Vite bundles all css imports into a single file.

no request css file

dev

image

serve

image

Thanks for the update ๐Ÿ‘