summaryrefslogtreecommitdiffstats
path: root/.fantasticonrc.js
blob: e786ae0875e1dc6305de90e242c6b85c4ec7890c (plain)
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
35
36
'use strict'

const codepoints = require('./font/bootstrap-icons.json')

module.exports = {
  inputDir: './icons', // (required)
  outputDir: './font', // (required)
  fontTypes: ['woff2', 'woff'],
  assetTypes: ['css', 'scss', 'json'],
  name: 'bootstrap-icons',
  codepoints,
  prefix: 'bi',
  selector: '.bi',
  fontsUrl: './fonts',
  formatOptions: {
    json: {
      indent: 2
    }
  },
  // Use a custom Handlebars template
  templates: {
    css: './build/font/css.hbs',
    scss: './build/font/scss.hbs',
    html: './build/font/html.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'
  }
}