[Vite] Loading CSS from `node_modules`

I want to load some CSS from node_modules/packagename/path/to/file.css into the HTML template file of my Vite project. Is this possible? If so, how? I'm in a SvelteKit project, if that changes anything. I don't want to import the CSS into other CSS files, or into JS/TS files. I want to have this CSS loaded globally, always, and independent of any code I may write, therefore it needs to be loaded into my central HTML file.
0 Replies
No replies yetBe the first to reply to this messageJoin