Last Updated: February 25, 2016
·
1.459K
· saebyn

Use --include-path to get django-compressor to handle lesscss @import

COMPRESS_PRECOMPILERS = (
    ('text/coffeescript', 'coffee --compile --stdio'),
    ('text/less', '/usr/bin/lessc --include-path="%s" {infile} {outfile}' % os.path.join(PROJECT_BASE, 'static', 'less')),
)