You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I set this up with my Vite library (so running Vite in library mode) with styles imported from the entry point. However, the size of the CSS file is reported as 0.
The plugin reads the data from the rollup bundle information. Rollup does not include a corresponding chunk for the css. As for the module size, by default, it is picked up from the rollup renderedLength (0 for your case), and when moduleOriginalSize is set, from originalLength.
Hi,
I set this up with my Vite library (so running Vite in library mode) with styles imported from the entry point. However, the size of the CSS file is reported as 0.
See the config here.
Happy to provide more info, but so far I don't think I am doing anything out of the ordinary for a Vite library mode project. Thanks!
The text was updated successfully, but these errors were encountered: