@wandiparis/gulp-fonts
v1.0.2
Published
Gulp task that converts and optimizes fonts
Downloads
8
Readme
gulp-fonts
Gulp task that converts and optimizes fonts
Installation
npm install --save-dev @wandiparis/gulp-fonts
Usage
Use with default parameters :
// gulpfile.js
const fonts = require("@wandiparis/gulp-fonts");
const compile = fonts();
module.exports = {
compile
};
Use with custom parameters (see below for the full list) :
// gulpfile.js
const fonts = require("@wandiparis/gulp-fonts");
const compile = fonts({
src: "path/to/fonts/**/*",
dest: "path/to/dest",
});
module.exports = {
compile
};
Parameters
src
Default value : "assets/fonts/**/*"
dest
Default value : "web/fonts"