StarkShang / vite-plugin-chrome-extension

A vite plugin to bundle chrome extensions for Manifest V3.
MIT License
460 stars 68 forks source link

Using CSS libraries #31

Open avi12 opened 2 years ago

avi12 commented 2 years ago

I'm using the Svelte template and I wish to use it with Svelte Materialify How do I tell the HTML to load the CSS before it exists, i.e. it will exist upon compiling Svelte? So far, I've tried adding

<link rel="stylesheet" href="/bulid/popup/popup.css">

but the Vite plugin isn't happy and seeks for popup.css, which doesn't exist yet

So far I've been using rollup-plugin-css-only