Skip to content

About

Gulp plugin for Assemble (ALPHA!) Tests, prs and feedback encourages, but this won't be ready for production use until Assemble V0.6.0 is released!

Resources

Stars

0 stars

Watchers

4 watching

Forks

 
 

Repository files navigation

gulp-assemble

Gulp plugin for Assemble.

Warning

Since gulp-assemble is using the v0.6.0-alpha branch of Assemble, this is not ready to be used unless you're willing to deal with daily changes, broken code, and lack of documentation.

Install

Install with npm

npm i assemble/gulp-assemble

Next, cd into the project and run npm install to install dependencies.

Usage

Example gulpfile.js with gulp-assemble and gulp-htmlmin:

var gulp = require('gulp');
var htmlmin = require('gulp-htmlmin');
var assemble = require('gulp-assemble');

gulp.task('assemble', function () {
  gulp.src('pages/*.hbs')
    .pipe(assemble({layout: 'default'}))
    .pipe(htmlmin({collapseWhitespace: true}))
    .pipe(gulp.dest('_gh_pages/'));
});

gulp.task('default', ['assemble']);

Author

Brian Woodward

License

Copyright (c) 2015 Brian Woodward Released under the MIT license

About

Gulp plugin for Assemble (ALPHA!) Tests, prs and feedback encourages, but this won't be ready for production use until Assemble V0.6.0 is released!

Resources

Stars

0 stars

Watchers

4 watching

Forks

Releases

Packages

Contributors

Languages