ionic-gulp-html-copy
Gulp task for Ionic projects to copy HTML sources to a build directory
Last updated 4 years ago by tlancina .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ionic-gulp-html-copy 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.0                                ...           latest (4 years ago)

1 Versions

  • 1.0.0                                ...           4 years ago
Downloads
Today 0
This Week 4
This Month 0
Last Day 0
Last Week 2
Last Month 8
Dependencies (1)
Dev Dependencies (0)
None

Copyright 2014 - 2017 © taobao.org |