fontawesome.js (662B)
1 /** 2 * Initializes the FontAwesome library. 3 */ 4 5 /** 6 * External dependencies 7 */ 8 import { config, library } from '@fortawesome/fontawesome-svg-core' 9 import { fab } from '@fortawesome/free-brands-svg-icons' 10 import { far } from '@fortawesome/free-regular-svg-icons' 11 import { fas } from '@fortawesome/free-solid-svg-icons' 12 13 config.autoAddCss = false 14 config.autoReplaceSvg = false 15 config.familyPrefix = 'sbfa' 16 config.keepOriginalSource = false 17 config.observeMutations = false 18 config.showMissingIcons = false 19 20 // We need to add all the available icons in the Font Awesome library so we can display them. 21 library.add( fab, far, fas ) 22 // fab 391 23 // far 152 24 // fas 869