Closed ai closed 2 years ago
@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
Yeap, it is an optimization, but we can avoid it
@ai hi! I have created pr for this issue. Please review it https://github.com/postcss/postcss.org/pull/270
Vite
node_modules
footprint is smaller and performance is better.