0.1.0 • Published 9 years ago

@denysvuika/ionic-gulp-html-copy v0.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

HTML Copy Task

Copy HTML sources to build directory.

Installing

npm install @denysvuika/ionic-gulp-html-copy --save-dev

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'.
  • base (String) Base path. Default: '.'

Example

const copyHTML = require('@denysvuika/ionic-gulp-html-copy');

// use defaults

gulp.task('html', copyHTML);

// or customize

gulp.task('html', () => {
  return copyHTML({
    src: 'app/**/*.html',
    dest: 'www/build',
    base: '.'
  });
});