This commit is contained in:
XhmikosR 2023-03-25 10:36:40 +02:00
Родитель 35139b2b09
Коммит c6b11c9d70
1 изменённых файлов: 5 добавлений и 9 удалений

Просмотреть файл

@ -3,8 +3,8 @@
const codepoints = require('./font/bootstrap-icons.json')
module.exports = {
inputDir: './icons', // (required)
outputDir: './font', // (required)
inputDir: './icons',
outputDir: './font',
fontTypes: ['woff2', 'woff'],
assetTypes: ['css', 'scss', 'json'],
name: 'bootstrap-icons',
@ -17,20 +17,16 @@ module.exports = {
indent: 2
}
},
// Use a custom Handlebars template
// Use our custom Handlebars templates
templates: {
css: './build/font/css.hbs',
scss: './build/font/scss.hbs',
html: './build/font/html.hbs'
scss: './build/font/scss.hbs'
},
pathOptions: {
json: './font/bootstrap-icons.json',
css: './font/bootstrap-icons.css',
scss: './font/bootstrap-icons.scss',
html: './font/index.html',
ttf: './font/fonts/bootstrap-icons.ttf',
woff: './font/fonts/bootstrap-icons.woff',
woff2: './font/fonts/bootstrap-icons.woff2',
eot: './font/fonts/bootstrap-icons.eot'
woff2: './font/fonts/bootstrap-icons.woff2'
}
}