Copy HTML sources to build directory.
Returns a stream of Vinyl files that can be piped.
- src (String|Array) Glob or array of globs (What's a glob?) matching HTML source files. Default:
'app/**/*.html'
. - dest (String) Output path for the HTML files. Default:
'www/build'
.
var copyHTML = require('ionic-gulp-html-copy');
gulp.task('html', copyHTML);
gulp.task('html', function(){
return copyHTML({ dest: 'www/my-custom-build-dir' });
});