Skip to content

This is just a quick demo of the tree-shaking that Just Works for @fortawesome/react-fontawesome in Font Awesome 5.1.

Notifications You must be signed in to change notification settings

mlwilkerson/react-fontawesome-tree-shaking-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo

This is just a quick demo of the tree-shaking that Just Works for @fortawesome/react-fontawesome in Font Awesome 5.1.

Usage

  1. yarn or npm install
  2. yarn build or npm run build
  3. yarn start or npm run start and point your browser at http://localhost:3000 to see the coffee icon. It's there.
  4. Search the resulting buid/static/js/app.*.js bundle file for icon unicode points to see what's there and what's not.

You should see that code f0f4 is there, since that the code for faCoffee. But you won't see f007, the code for faUser.

Also

This project was bootstrapped with Create React App.

About

This is just a quick demo of the tree-shaking that Just Works for @fortawesome/react-fontawesome in Font Awesome 5.1.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published