Major breaking changes in v2.0 of this plugin! See the Release History for details.
const Assemble = require('assemble');
// create your application and add the plugin
const app = new Assemble();
app.use(require('{%= name %}'))
// now you can use `src` and `dest`
app.src(['foo/*.hbs'])
.pipe(app.dest('site/'));
Adds the following methods to your [assemble][] instance (works with any [Templates][] application):
{%= apidocs("index.js") %}
v2.0.0
- Major breaking changes based on v1.0 of Assemble! Requires Assemble v1.0 or above.
v0.6.0
- emit
end
onapp
when stream ends
v0.3.0
- breaking change! plugin is wrapped in a function that now be called when registered. e.g.
fs()
. This is to be consistent with assemble's plugin guidelines, and allows the plugin to be auto-loaded following the same format as other plugins. - rename
files
array tostreamFiles
- adds
onStream
middleware handler tosrc
- adds
preWrite
middleware handler todest