sass / libsass-python

A straightforward binding of libsass for Python. Compile Sass/SCSS in Python with no Ruby stack at all!
https://sass.github.io/libsass-python/
MIT License
564 stars 54 forks source link

Is '@use' supported? #458

Closed nolankramer closed 7 months ago

nolankramer commented 7 months ago

I'm using qtsass, which relies on libsass here to compile(**kwargs) with custom_function, importers, and include_paths.

According to the docs, it looks like include_paths should cover usage of @import. But it looks like my scss files are failing to compile with @use. I'm wondering if that's supported by this python package?

nolankramer commented 7 months ago

Re-opened because I gained understanding that qtsass was including directories correctly. The @use should have been resolved.

All evidence points to @use not functioning correctly due to how this library wraps libsass (also see https://github.com/sass/libsass-python/issues/402).

asottile commented 7 months ago

as per https://github.com/sass/libsass-python/issues/402#issuecomment-1219996747