Fortunately there is a npm package glyphicons-only-bootstrap. I can successfully
but that css contains a font definition that references relative URLs for the fonts from
glyphicons-only-bootstrap/fonts. I only got it to work by adding a symbolic link to the fonts directory in
/public and editing the css files to use absolute URLs for the fonts.
That seems sub-optimal, since it means I would need to continue making changes to the npm package assets when there is an update to said package.
How are other users solving this problem?