You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
var scss = require('./index'); |
|
|
|
var compiler = (function() { |
|
return { |
|
match: /\.css$/, |
|
ext: '.scss', |
|
compile: function(str, fn) { |
|
scss.parse(str, function(err, css) { |
|
if(err) { |
|
fn(err); |
|
} else { |
|
fn(null, css); |
|
} |
|
}); |
|
} |
|
}; |
|
})(); |
|
|
|
|
|
module.exports = compiler;
|
|
|