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