ionic-gulp-fonts-copy

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i ionic-gulp-fonts-copy

Weekly Downloads

2

Version

1.0.0

License

none

Last publish

Collaborators

  • jthoms1
  • brandyscarney
  • adamdbradley
  • tlancina