2025-02-17 07:10:40 +01:00
|
|
|
'use strict'
|
|
|
|
|
|
|
|
const codepoints = require('./font/bootstrap-icons.json')
|
|
|
|
|
|
|
|
module.exports = {
|
2025-02-17 07:14:35 +01:00
|
|
|
inputDir: './icons',
|
|
|
|
outputDir: './font',
|
2025-02-17 07:10:40 +01:00
|
|
|
fontTypes: ['woff2', 'woff'],
|
2025-02-17 07:13:42 +01:00
|
|
|
assetTypes: ['css', 'scss', 'json'],
|
2025-02-17 07:10:40 +01:00
|
|
|
name: 'bootstrap-icons',
|
|
|
|
codepoints,
|
|
|
|
prefix: 'bi',
|
|
|
|
selector: '.bi',
|
|
|
|
fontsUrl: './fonts',
|
|
|
|
formatOptions: {
|
|
|
|
json: {
|
|
|
|
indent: 2
|
|
|
|
}
|
|
|
|
},
|
2025-02-17 07:14:35 +01:00
|
|
|
// Use our custom Handlebars templates
|
2025-02-17 07:10:40 +01:00
|
|
|
templates: {
|
|
|
|
css: './build/font/css.hbs',
|
2025-02-17 07:14:35 +01:00
|
|
|
scss: './build/font/scss.hbs'
|
2025-02-17 07:10:40 +01:00
|
|
|
},
|
|
|
|
pathOptions: {
|
|
|
|
json: './font/bootstrap-icons.json',
|
|
|
|
css: './font/bootstrap-icons.css',
|
|
|
|
scss: './font/bootstrap-icons.scss',
|
|
|
|
woff: './font/fonts/bootstrap-icons.woff',
|
2025-02-17 07:14:35 +01:00
|
|
|
woff2: './font/fonts/bootstrap-icons.woff2'
|
2025-02-17 07:10:40 +01:00
|
|
|
}
|
|
|
|
}
|