资源介绍
从gulp-iconfont的“字形”事件构建_icons.scss
用法
gulp.src('icons/**/*.svg')
.pipe(plugins.plumber())
.pipe(plugins.iconFont({
fontName: fontName,
appendUnicode: true
}))
.on('glyphs', plugins.iconFontScss({
fontPath: '../fonts',
outFile: '../styles/_icons.scss'
}))
.pipe(gulp.dest('../fonts'));