Commit 8fbdf3ee by Timothée Peignier

add new sass extension

parent a8811960
...@@ -8,7 +8,7 @@ class SASSCompiler(SubProcessCompiler): ...@@ -8,7 +8,7 @@ class SASSCompiler(SubProcessCompiler):
output_extension = 'css' output_extension = 'css'
def match_file(self, filename): def match_file(self, filename):
return filename.endswith('.scss') return filename.endswith(('.scss', '.sass'))
def compile_file(self, content, path): def compile_file(self, content, path):
command = "%s --scss %s %s" % ( command = "%s --scss %s %s" % (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment