Open
Description
django-css handles this quite well by having a COMPILER_FORMATS
setting that points to the binary of the preprocessor you want to use.
COMPILER_FORMATS = {
'.sass': {
'binary_path':'sass',
'arguments': '*.sass *.css'
}
}
It then tries to find stylesheets with those extensions (usually within {% compress %}
blocks).
There are many ways I think CSS preprocessors would fit within this project, one of them being to allow SASS to be used only for "development mode" and when the management command is used, process them and throw them on the server. django-css currently compresses everything that falls in between the {% compress %}
block and then caches the link to the static file, even when working with CDNs.
Really, I just want to use SASS. :)
Metadata
Metadata
Assignees
Labels
No labels