ionic-gulp-html-copy

v1.0.0
Gulp task for Ionic projects to copy HTML sources to a build 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'});
});
npm i ionic-gulp-html-copy

Metadata

  • MIT
  • Whatever
  • Unknown
  • released 3/15/2016

Downloads

Maintainers