Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/icons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Otto <markd.otto@gmail.com>2021-03-24 10:05:49 +0300
committerGitHub <noreply@github.com>2021-03-24 10:05:49 +0300
commit11a029bfb59e30b4e94cad3bb35cda84356c0cfc (patch)
treec67c72cf7aa4f097bd05debd6df8593680bbe62a /.fantasticonrc.js
parent621e555b24d5752cebbec1710da77bcc0d5b98b9 (diff)
Import existing codepoints for icon font (#814)
* Import the existing codepoints so we don't change the icon font unicode codes Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Diffstat (limited to '.fantasticonrc.js')
-rw-r--r--.fantasticonrc.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/.fantasticonrc.js b/.fantasticonrc.js
index de0603af9..969ee8356 100644
--- a/.fantasticonrc.js
+++ b/.fantasticonrc.js
@@ -1,15 +1,17 @@
+const codepoints = require('./font/bootstrap-icons.json');
+
module.exports = {
inputDir: './icons', // (required)
outputDir: './font', // (required)
fontTypes: ['woff2', 'woff'],
assetTypes: ['css', 'json', 'html'],
name: 'bootstrap-icons',
+ codepoints: codepoints,
prefix: 'bi',
selector: '.bi',
fontsUrl: './fonts',
formatOptions: {
json: {
- // render the JSON human readable with two spaces indentation (default is none, so minified)
indent: 2
}
},