0.0.8 • Published 11 years ago

broccoli-swig v0.0.8

Weekly downloads
2
License
ISC
Repository
github
Last release
11 years ago

broccoli-swig

Swig filter for broccoli.

Usage

First, Install :

npm install --save-dev broccoli-swig

And then, Use :

module.exports = function (broccoli) {
    var tree = broccoli.makeTree('some_path');
    
    // This is where the magic happens
    var swigOptions = { context : { locals : { what : "World"} }, extendSwig : function(swig) {
        // Lovely place to extend swig.
    }};
	tree = require('broccoli-swig')(tree, swigOptions);
    
    return tree;
};
0.0.8

11 years ago

0.0.7

11 years ago

0.0.6

11 years ago

0.0.5

11 years ago

0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago