Build HTML from pug with gulp.
Returns a stream of Vinyl files that can be piped.
- 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'
.
var buildPug = require('ionic-gulp-pug-copy');
gulp.task('pug', function(){
return buildPug({ dest: 'www/my-custom-build-dir' });
});