-
Notifications
You must be signed in to change notification settings - Fork 7
/
.fantasticonrc.js
34 lines (33 loc) · 924 Bytes
/
.fantasticonrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// const codepoints = require('./dist/cdn/sketch-icons.json');
module.exports = {
inputDir: './assets/simple', // (required)
outputDir: './dist/cdn', // (required)
fontTypes: ['woff2', 'woff'],
assetTypes: ['css', 'scss', 'json', 'html'],
name: 'sketch-icons',
// codepoints: codepoints,
prefix: 'sk',
selector: '.sk',
fontsUrl: '',
formatOptions: {
json: {
indent: 2
}
},
// Use a custom Handlebars template
templates: {
css: './scripts/font/css.hbs',
scss: './scripts/font/scss.hbs',
html: './scripts/font/html.hbs'
},
pathOptions: {
json: './dist/cdn/sketch-icons.json',
css: './dist/cdn/sketch-icons.css',
scss: './dist/cdn/sketch-icons.scss',
html: './dist/cdn/index.html',
ttf: './dist/cdn/sketch-icons.ttf',
woff: './dist/cdn/sketch-icons.woff',
woff2: './dist/cdn/sketch-icons.woff2',
eot: './dist/cdn/sketch-icons.eot'
}
};