pruno-swig

1.1.1 • Public • Published

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

Package Sidebar

Install

npm i pruno-swig

Weekly Downloads

0

Version

1.1.1

License

ISC

Last publish

Collaborators

  • cdebotton