1.0.0 • Published 8 years ago

ionic-gulp-html-copy v1.0.0

Weekly downloads
218
License
MIT
Repository
github
Last release
8 years ago

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'});
});