ionic-gulp-html-copy
v1.0.0
Published
Gulp task for Ionic projects to copy HTML sources to a build directory
Downloads
51
Keywords
Readme
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'});
});