1.1.1 • Published 9 years ago

pruno-swig v1.1.1

Weekly downloads
3
License
ISC
Repository
github
Last release
9 years ago

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: '_'
    });
});