Open z3ugma opened 4 years ago
When using the LibSASS filter, only certain kwargs are passed to the sass.compile command.
kwargs
sass.compile
Per http://hongminhee.org/libsass-python/sass.html#sass.compile, there are a number of other options including source_comments=True that I'd like to able to pass into the filter.
source_comments=True
This line calls compile with **args: https://github.com/miracle2k/webassets/blob/8380c0db3f23167bfb192bd560ab81363edb7451/src/webassets/filter/libsass.py#L78
**args
Where args is a limited dict declared a few lines earlier: https://github.com/miracle2k/webassets/blob/8380c0db3f23167bfb192bd560ab81363edb7451/src/webassets/filter/libsass.py#L66
args
When using the LibSASS filter, only certain
kwargs
are passed to thesass.compile
command.Per http://hongminhee.org/libsass-python/sass.html#sass.compile, there are a number of other options including
source_comments=True
that I'd like to able to pass into the filter.This line calls compile with
**args
: https://github.com/miracle2k/webassets/blob/8380c0db3f23167bfb192bd560ab81363edb7451/src/webassets/filter/libsass.py#L78Where
args
is a limited dict declared a few lines earlier: https://github.com/miracle2k/webassets/blob/8380c0db3f23167bfb192bd560ab81363edb7451/src/webassets/filter/libsass.py#L66