Replace FontAwesome icons JavaScript with module

The BuildJS process used by Hugo can't tree-shake the `index.js` file
currently used. Replace it with a tree-shakable `index.mjs` file to
reduce page size.
This commit is contained in:
Thomas A. Christensen II 2023-02-24 23:06:15 -06:00
parent 48f7c455ab
commit 5d4a2d8242
Signed by: millironx
GPG key ID: 09335146883990B9
3 changed files with 1 additions and 1 deletions

View file

@ -17,7 +17,7 @@ import {
faUserAstronaut, faUserAstronaut,
faVideo, faVideo,
faW, faW,
} from "./pro-duotone-svg-icons"; } from "./pro-duotone-svg-icons/index.mjs";
import { import {
faDiscord, faDiscord,
faGithub, faGithub,

Binary file not shown.