Copy Ionic fonts to build directory.
Returns a stream of Vinyl files that can be piped.
- src (String|Array) Glob or array of globs (What's a glob?) matching font source files. Default:
'node_modules/ionic-angular/fonts/**/*.+(ttf|woff|woff2)'
. - dest (String) Output path for the fonts. Default:
'www/build/fonts'
.
var copyFonts = require('ionic-gulp-fonts-copy');
gulp.task('fonts', copyFonts);
gulp.task('fonts', function(){
return copyFonts({ dest: 'www/my-custom-build-dir' });
});