-
-
Notifications
You must be signed in to change notification settings - Fork 163
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
stylus import support #9
Comments
I am not sure if stylus is the same as sugarss (syntax seems quite the same). I made a PR (#10) which makes it possible to configure syntax parsers.
|
Fixed in #10. Thanks to @jcdekoning . |
It's possible to configure syntax parsers, but unfortunately Stylus doesn't work, because there isn't a PostCSS parser available for it. SugarSS syntax is not the same. Maybe it is if you use Stylus without braces, but not using braces breaks the Stylus compiler way too easily with a cryptic error, indent based syntax is just not worth it. It's also not just braces, some may love their semicolons, the point is that Stylus is a very unopionated about syntax, so the parser also has to be like that. I got an error with
It doesn't look like it's happening: postcss/postcss#602 (comment) As for me, I'm probably going to have to use SCSS instead of Stylus. |
got error:
The text was updated successfully, but these errors were encountered: