unocss / unocss

The instant on-demand atomic CSS engine.

Home Page:https://unocss.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

@unocss/vite generates empty styles for async components

ameinhardt opened this issue · comments

For async vue-components vite with @unocss/vite seems to generate css files with at least a blank line. Can this be avoided, at least for production?
Reproduction:
https://stackblitz.com/edit/vitejs-vite-uppqep?file=dist%2Fassets%2FAsyncComponent.c7983b87.css&terminal=dev