Closed patrickhulce closed 7 years ago
Any update on this?
I haven't made any progress here, but I'll take another look when I have some spare cycles now that there's a customer :)
Just an update on this, I got a hacky version working, but it's fairly brittle and not nearly as drop-in as the current configuration.
On second thought, it's also probably a bad idea to inline any font other than a very small woff/woff2. The file size increase from base64, the prevalence of h2, and the likelihood of misuse for inlining multiple unnecessary copies makes me inclined to label as a won't fix. If anyone has a strong argument for inlining, I'm definitely open to hearing it though :)
Would be nice to support data URI inlining of fonts instead of just file-loader, especially since fonts become much smaller when using fontmin.