Skip to content
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

Components containing Sass #24

Closed
jelib3an opened this issue Jan 25, 2021 · 4 comments
Closed

Components containing Sass #24

jelib3an opened this issue Jan 25, 2021 · 4 comments
Labels
enhancement New feature or request

Comments

@jelib3an
Copy link
Contributor

I get a parse error if one of my components contains sass/scss. Is there a way to have either sveld preprocess or just ignore the styles section?

@metonym metonym added the enhancement New feature or request label Jan 25, 2021
@mzohaibqc
Copy link

Facing same issue, unable to build if svelte component contains scss

@riez
Copy link

riez commented Mar 10, 2021

I got the same issue.. currently I need to comment out the styles and run the cli manually...

@TheComputerM
Copy link

Why even is the css being parsed?

@jelib3an
Copy link
Contributor Author

This should be working now in 0.8.0. The style block gets stripped away using regex before parsing. Feel free to reopen if it's still not working for you. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

5 participants