brian said about 3 years ago on esbuild for Rails :
How would you load icon fonts with esbuild. Create a loader or pull the css into the asset pipeline?

Trying to pull in fontawesome css:

JS:
import "@fortawesome/fontawesome-free/js/all";
import "@fortawesome/fontawesome-free/css/all.css";  // results in no loader configured for .woff, .eot etc. 

CSS Bundling
@use "@fortawesome/fontawesome-free/css/all.css" as *;   // no route matches /webfonts