bim-gulp
Version:
Workflow gulp
24 lines (23 loc) • 641 B
JavaScript
exports.defaultConfiguration = {
iconfont: {
ext: 'svg',
src: 'icons/**/*.',
watch: 'icons/**/*.',
dest: 'fonts/iconfont',
config: {
fontName: 'iconfont',
fontHeight: 1001,
normalize: true,
prependUnicode: true,
formats: ['ttf', 'eot', 'woff', 'woff2', 'svg'],
timestamp: Math.round(Date.now() / 1000),
},
css: {
templatePath: 'default',
fontName: 'iconfont',
fontPath: './fonts/iconfont/',
className: 'ic',
dest: 'scss/iconfont/'
}
}
}