This repository was archived by the owner on Sep 3, 2020. It is now read-only.

Description
Unable to load fonts with the current loader config and not sure what the issue is so I'm opening a ticket.
- Raising limit to ensure base64 encoded file works fine, so it has something to do with URL loading
{ test: /\.(gif|svg|jpg|jpeg|png|woff|woff2|ttf|eot)$/, loader: 'url-loader?limit=8192', include: constants.SRC_DIR }
- Prefixing the asset url with ~!url! also works.
example: prefixing ../../assets/fonts/fontname.woff2
as ~!url!../../assets/fonts/fontname.woff2
works fine
- Also thinking that maybe we should always be using url loading rather than base64 encoding web fonts, since there's generally multiple formats, there's not much sense in encoding them all to include in the css.