Skip to content

Commit

Permalink
Add a note that this script only touches the FontAwesome icons
Browse files Browse the repository at this point in the history
  • Loading branch information
bhousel committed May 24, 2024
1 parent 3bd06be commit 188e6b1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/build_icons.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@ import chalk from 'chalk';
import fs from 'node:fs';
import { icon } from '@fortawesome/fontawesome-svg-core';

// This script will update _only_ the FontAwesome icons in `dist/img/*.svg`
// There are other icons in that folder that are not Font Awesome icons,
// (e.g. osm, youthmappers, fediverse) - this script won't touch them.

import {
faAt, faComment, faComments, faKeyboard, faLink, faNewspaper, faUsers
} from '@fortawesome/free-solid-svg-icons';
Expand All @@ -12,6 +16,7 @@ import {
faSquareThreads, faSquareXTwitter, faSquareYoutube, faTelegram,
} from '@fortawesome/free-brands-svg-icons';


const toBuild = {
discord: faDiscord,
discourse: faDiscourse,
Expand Down

0 comments on commit 188e6b1

Please sign in to comment.