Howdy everyone,
I have noticed this issue for quite a while but just now created a minimal recreation as well.
TLDR: unocss started breaking in Bun (v1.1.40 and prior versions) starting version 0.61.7. v0.61.6 is the last known version working.
The minimal recreation is here:
https://github.com/stacksjs/bun-unocss-issue
If there's any chance to get this issue somehow resolved, that would be greatly appreciated, especially with Vite 6 out now. It will slowly but surely start locking us from more and more dependency upgrades (i.e. Vite, VitePress, eslint configs & plugins, unocss itself, and potentially more)
A relating issue here: https://github.com/oven-sh/bun/issues/13338
🙏💙