Package Exports
- template-init
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (template-init) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
template-init 
Plugin for adding vinyl files from an assemble, verb, or gulp pipeline to a template cache.
Install
Install with npm
npm i template-init --save
Run tests
npm test
API
.initPlugin
Template init plugin used to add templates from a source to the template cache.
var app = require('assemble');
var initPlugin = require('template-init');
init
Create a stream that will initialize files for an app pipeline.
options
{Object}: Additional options to use.returns
{Stream}: Stream compatible with Assemble, Verb, or Gulp pipelines
var init = initPlugin(app);
gulp.task('build-posts', function () {
gulp.src('*.hbs')
.pipe(init())
.pipe(render())
.pipe(gulp.dest('_gh_pages'));
});
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue
Author
Brian Woodward
License
Copyright (c) 2014 Brian Woodward
Released under the MIT license
This file was generated by verb on December 12, 2014.