3 ms·
Thanks. Can you recommend a pure-Python SASS compiler? The ones we've found seem to struggle with relative imports.
by tomd 13y ago
Thanks. Can you recommend a pure-Python SASS compiler? The ones we've found seem to struggle with relative imports.
- Pxl_Buzzard 13y agoI struggled with finding a way to compile SASS last summer and my solution wasn't great[1]. Nowadays, this version of libsass for Python[2] looks pretty stable, and failing that Grunt would work well enough. [1] http://blog.danieljost.com/scss-on-a-remote-server/ http://blog.danieljost.com/scss-on-a-remote-server/ [2] https://github.com/dahlia/libsass-python https://github.com/dahlia/libsass-python
- kawera 13y agoAnother one: https://github.com/pistolero/python-scss https://github.com/pistolero/python-scss
- dangayle 13y agoI haven't. I've never used SASS directly on the production server, I just run Compass on dev and push the compressed css to a cdn or media server. You might want to look into the C implementation? https://github.com/hcatlin/libsass https://github.com/hcatlin/libsass