3 ms·
I'm the author of the country-flag-emoji-polyfill mentioned in the article. If the author reads this, maybe a correction is warranted: the polyfill doesn't actu
by skrebbel 2y ago
I'm the author of the country-flag-emoji-polyfill mentioned in the article. If the author reads this, maybe a correction is warranted: the polyfill doesn't actually depend on public CDNs. The library itself is a regular NPM package so you can install it locally and bundle it into your JS, and it takes a parameter "fontUrl" for when you prefer to self-host the font file. It only falls back to jsdelivr when no URL is specified.
Nice writeup btw. I still can't get over how ridiculous it is that Windows doesn't have country flags emojis. It just means that every app/website ends up applying a hacky patch like this.