Cool Vite thing I learned today; @import
in .css
files will be inlined at build time.
/* main.css */
@import url('variables.css');
@import url('normalize.css');
This becomes a single CSS file in the production build; and if you happen to add it to a shared library (npm package), you can have it auto-import global styles along with Svelte components.