As you may know font-awesome 5 package now distributed as several packages:
- @fortawesome/fontawesome, all the functionality for generating icons but none of the content
- @fortawesome/fontawesome-free-solid, 'solid' icons content (the same for 'regular' and 'brands' icons)
Furthermore there are shakable
hooks for each content package to build only used icons content (tree shaking).
And it is awesome!
More info about FA5: https://fontawesome.com/how-to-use/use-with-node-js
Anyway, @fortawesome/fontawesome (without icons content) usage increases your bundle up to 100kb (+30kb minified). Yikes!
We are going to be minimal, and will use only icons' content and hyperapp
: