Skip to content

Latest commit

 

History

History
 
 

fonts-copy

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Fonts Copy Task

Copy Ionic fonts to build directory.

API

copyFonts([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 font source files. Default: 'node_modules/ionic-angular/fonts/**/*.+(ttf|woff|woff2)'.
  • dest (String) Output path for the fonts. Default: 'www/build/fonts'.

Example

var copyFonts = require('ionic-gulp-fonts-copy');

gulp.task('fonts', copyFonts);

gulp.task('fonts', function(){
  return copyFonts({ dest: 'www/my-custom-build-dir' });
});