assemble-middleware-add
v0.1.1
Published
Add files to your Assemble file stream.
Downloads
1
Readme
assemble-middleware-add
Add files to your Assemble file stream.
Install
Install with npm:
npm i assemble-middleware-add --save-dev
Add
add
Add files to the current Assemble stream.
Usage
var assemble = require('assemble');
var add = require('assemble-middleware-add')(assemble);
assemble.src('path/to/pages/*.hbs')
.pipe(assemble.dest('path/to/dest/pages/')
.pipe(add('path/to/posts/*.md'))
.pipe(assemble.dest('path/to/dest/blog/');
assemble
{Object}: instance of assemblereturn
{Function}addSrc
function to be used to create a stream.
Author
Brian Woodward
License
Copyright (c) 2014 Brian Woodward, contributors.
Released under the MIT license
This file was generated by verb-cli on June 30, 2014.