fradelg / ionic-gulp-pug-build

Gulp task for Ionic 2 projects to build Pug sources to a build directory

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pug Build Task

Build HTML from pug with gulp.

API

buildPug([options])

Returns a stream of Vinyl files that can be piped.

Available options:

  • src (String|Array) Glob or array of globs (What's a glob?) matching pug source files. Default: 'app/**/*.pug'.
  • dest (String) Output path for the HTML files. Default: 'www/build'.

Example

var buildPug = require('ionic-gulp-pug-copy');

gulp.task('pug', function(){
  return buildPug({ dest: 'www/my-custom-build-dir' });
});

About

Gulp task for Ionic 2 projects to build Pug sources to a build directory

License:MIT License


Languages

Language:JavaScript 100.0%