Skip to content

Latest commit

 

History

History
24 lines (18 loc) · 410 Bytes

README.md

File metadata and controls

24 lines (18 loc) · 410 Bytes

mat-less

npm version

Installation

npm install --save-dev mat-less

Usage

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}}))
})