Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Thanks. Can you recommend a pure-Python SASS compiler? The ones we've found seem to struggle with relative imports.


I 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/ [2] https://github.com/dahlia/libsass-python



I 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




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: