您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 

32 行
736 B

//@ts-check
/** @type { import('fantasticon').RunnerOptions} } */
const config = {
name: 'glicons',
prefix: 'glicon',
codepoints: require('./images/icons/template/mapping.json'),
inputDir: './images/icons',
outputDir: './dist',
// @ts-ignore
fontTypes: ['woff2'],
normalize: true,
// @ts-ignore
assetTypes: ['html', 'scss', 'json'],
templates: {
html: './images/icons/template/icons-contribution.hbs',
scss: './images/icons/template/styles.hbs',
},
formatOptions: {
json: {
indent: 2,
},
},
pathOptions: {
woff2: './dist/glicons.woff2',
scss: './src/webviews//apps/shared/glicons.scss',
html: './icons-contribution.json',
json: './images/icons/template/mapping.json',
},
};
module.exports = config;