Skip to content

Latest commit

 

History

History
 
 

html-copy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

HTML Copy Task

Copy HTML sources to build directory.

API

copyHTML([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 HTML source files. Default: 'app/**/*.html'.
  • dest (String) Output path for the HTML files. Default: 'www/build'.

Example

var copyHTML = require('ionic-gulp-html-copy');

gulp.task('html', copyHTML);

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