How to add FA icons and not make page weight high
Posted: Wed Mar 13, 2019 10:24 pm
WB publishes the whole fontawsome icon file and it increases page weight drastically. Is there a chance to make it so that only links to the used icons in the project where published?
It's possible manually add a link to every icon but I'd prefer to use WB to do the job.
I mean WB adding the link to FA in the head
" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
and link to the chosen icon in the body
<i class="fab fa-adobe"></i>
and then generate code for personalised style.
Is it possible or planned in the future?
Thanks for reply.
It's possible manually add a link to every icon but I'd prefer to use WB to do the job.
I mean WB adding the link to FA in the head
" href="https://use.fontawesome.com/releases/v5.7.2/css/all.css" integrity="sha384-fnmOCqbTlWIlj8LyTjo7mOUStjsKC4pOpQbqyi7RrhN7udi9RwhKkMHpvLbHG9Sr" crossorigin="anonymous">
and link to the chosen icon in the body
<i class="fab fa-adobe"></i>
and then generate code for personalised style.
Is it possible or planned in the future?
Thanks for reply.