Open antony opened 4 years ago
One extra note, this is a rare css import I'm using directly in _layout.svelte
. It looks like this:
import '@beyonk/gdpr-cookie-consent-banner/dist/style.css'
Will try to import it another way and see if it makes a difference.
Ok. I don't get this error any more when I move it to my global SCSS.
So there's possibly a problem in that the plugin doesn't support import
ing CSS.
It's very possible I've overlooked some things with CSS... Didn't dig it much yet.
But I've just checked your project's Rollup config and I see nothing in there that would allow importing CSS directly into JS.
Is there something I missed? Does this import work with the official plugin?
@rixo It's a good question - I'll create a repro for you since I'm not entirely sure I remember how this works.
I'm trying to add HMR support to my existing Sapper apps. Aside from the warnings about named exports which I'm assuming don't factor in to this, it looks like the hmr filesystem is lacking some of my
node_modules
which it requires.The error I'm getting is:
I'll see if I can install the dependency by itself into your template project and see if I get the same error, and post the results here.