Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 394 Bytes

README.md

File metadata and controls

26 lines (20 loc) · 394 Bytes

mat-jade

npm version

Installation

npm install --save-dev mat-jade

Usage

var mat  = require('mat')
var jade = require('mat-jade')

mat.task('jade', function () {
  mat.url([/\.html/])
    .rewrite([
      [/\.html/g, '.jade']
    ])
    .use(jade({
      cdn: 'xxx'
    }))
})