README
swigify
browserify transform for swig templates.
Installation
Install with npm(1):
$ npm install swigify
Preview
Just pass swigify to the transform
method of your browserify instance.
var swigify = require('swigify');
// default options which are used:
var options = {
// uses html-minifier to compress template
// you can pass an object if you want to
// use own custom settings
compress: true,
tagnames: ['import', 'include', 'extends'],
newVarControls: ['<