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!