1

i'm using the following Code in my bootstrap.js in Laravel, following the solution: How to import individual icons with FontAwesome v6

import { library, dom, config } from "@fortawesome/fontawesome-svg-core";
config.searchPseudoElements = true;

import { faCheck } from "@fortawesome/free-solid-svg-icons";

library.add( faCheck );

dom.i2svg();
dom.watch();

But Laravel mix, includes the whole Fontawesome icons, to the app.js.

Have anyone some hints, to push me to the solution?

i'm barely new to work with Laravel Mix and using npm.

Thanks!

Meatwant
  • 19
  • 1
  • 7
  • Did you follow all the steps in my question that you linked to, to remove the already loaded icons from your project? Note I'm talking about the steps in the question, not the answer. – Hashim Aziz Jul 07 '22 at 19:46

0 Answers0