## Heads up! Major breaking changes in v2.0 of this plugin! [See the Release History](#release-history) for details. ## Usage ```js 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/')); ``` ## API Adds the following methods to your [assemble][] instance (works with any [Templates][] application): {%= apidocs("index.js") %} ## Release History **v2.0.0** - Major breaking changes based on v1.0 of Assemble! Requires Assemble v1.0 or above. **v0.6.0** - emit `end` on `app` 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 to `streamFiles` - adds `onStream` middleware handler to `src` - adds `preWrite` middleware handler to `dest`