pruno-swig
v1.0.3 pruno templating html swig
pruno-swig
A swig mix for pruno that includes gulp-data.
Usage
"use strict";
var pruno = require('pruno');
pruno.plugins(function(mix) {
mix
.configure({ dir: __dirname + '/config' })
.swig({
data: '::src/templates/data',
entry: '::src/templates/**/*.html',
dist: '::dist',
search: [
'::src/templates/**/*.html',
'::src/templates/data/**/*'
],
ignorePrefix: '_'
});
});
npm i [email protected]
Metadata
- ISC
- Whatever
- Christian de Botton
- released 3/16/2015