mat-jade 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' })) })