postcss/postcss.org

Move to Vite

ai opened this issue · 3 comments

ai commented

Vite node_modules footprint is smaller and performance is better.

@ai I I started migrating to vite, but found problem.
For now postcs.org inline all styles into html. Vite inline styles only in serve mode. When I build project it inject style via link tag.

Is inline style used to optimize loading? Or we can inject styles via link tag?

Anyway, I continue to explore the possibility of inlining styles

ai commented

Yeap, it is an optimization, but we can avoid it

@ai hi! I have created pr for this issue. Please review it #270