-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using the indented syntax option doesn't seem to work with Svelte's global selectors. #49
Comments
Took some time to find this one 😄 The problem is, that it's invalid sass... There's nothing I can do about it, I'd advise you to write scss instead. You could also create an issue in the svelte repo. |
Yeah, was hoping there might be some way to make this plugin recognize the Svelte One idea I'm trying to get to work is just using scss for when I want to use global selectors, and sass otherwise. But for some reason this isn't working. rollup.config.js
App.svelte:
Error message:
Any suggestions for where I'm going wrong with this idea? |
Well, only one But you actually stumbled over an issue in
|
Ah, got it. Didn't know about the single I was wondering why adding multiple preprocessors seemed to give strange results. But yeah, looks like that PR or the other one should fix it. 👍 Thanks for the help. |
Just found a solution! Adding the backslash escape character
Thanks again for helping me with this. |
When I try to use Sass's indented syntax option with one of Svelte's global selectors, I get an error.
rollup.config.js (using Sapper):
component.svelte
When I call
npm run dev
I get this error:Any suggestions?
The text was updated successfully, but these errors were encountered: