How to use gulp-google-webfonts - 1 common examples

To help you get started, we’ve selected a few gulp-google-webfonts examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github anvilabs / anvilabs.co / gulpfile.babel.js View on Github external
gulp.task('fonts', () =>
  gulp
    .src('./fonts.list')
    .pipe(
      googleWebFonts({
        fontsDir: 'fonts/',
        cssDir: './',
        cssFilename: 'fonts.css',
      })
    )
    .pipe(gulp.dest('./public'))
);

gulp-google-webfonts

A gulp plugin to download Google webfonts and generate a stylesheet for them.

GPL-3.0
Latest version published 3 years ago

Package Health Score

48 / 100
Full package analysis

Popular gulp-google-webfonts functions

Similar packages