1.0.0 • Published 8 years ago

ionic-gulp-fonts-copy v1.0.0

Weekly downloads
223
License
-
Repository
-
Last release
8 years ago

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