npm install --save-dev mat-less
var mat = require('mat')
var less = require('mat-less')
mat.task('less', function () {
mat.url([/\.css/], )
.rewrite([
[/\.css/g, '.less']
])
.use(less({sourceMap: {sourceMapFileInline: true}}))
})