Skip to content

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!

License

Notifications You must be signed in to change notification settings

Tekzenit/gulp-assemble

 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%