Adds working stylus call as an alternative to the precompilers.
This commit is contained in:
		@@ -31,6 +31,7 @@ class CompressorConf(AppConf):
 | 
			
		||||
        # ('text/coffeescript', 'coffee --compile --stdio'),
 | 
			
		||||
        # ('text/less', 'lessc {infile} {outfile}'),
 | 
			
		||||
        # ('text/x-sass', 'sass {infile} {outfile}'),
 | 
			
		||||
        # ('text/stylus', 'stylus < {infile} > {outfile}'),
 | 
			
		||||
        # ('text/x-scss', 'sass --scss {infile} {outfile}'),
 | 
			
		||||
    )
 | 
			
		||||
    CLOSURE_COMPILER_BINARY = 'java -jar compiler.jar'
 | 
			
		||||
 
 | 
			
		||||
@@ -226,6 +226,7 @@ Backend settings
 | 
			
		||||
            ('text/less', 'lessc {infile} {outfile}'),
 | 
			
		||||
            ('text/x-sass', 'sass {infile} {outfile}'),
 | 
			
		||||
            ('text/x-scss', 'sass --scss {infile} {outfile}'),
 | 
			
		||||
            ('text/stylus', 'stylus < {infile} > {outfile}'),
 | 
			
		||||
            ('text/foobar', 'path.to.MyPrecompilerFilter'),
 | 
			
		||||
        )
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user