mirror of
https://github.com/TeamPiped/Piped.git
synced 2024-08-14 23:57:27 +00:00
Implement polyfilling country flags font.
This commit is contained in:
parent
9c041c8199
commit
6364567167
4 changed files with 16 additions and 0 deletions
|
@ -14,6 +14,7 @@
|
|||
"@fortawesome/free-solid-svg-icons": "6.2.1",
|
||||
"@fortawesome/vue-fontawesome": "3.0.2",
|
||||
"buffer": "6.0.3",
|
||||
"country-flag-emoji-polyfill": "^0.1.4",
|
||||
"dompurify": "2.4.1",
|
||||
"hotkeys-js": "3.10.0",
|
||||
"javascript-time-ago": "2.5.9",
|
||||
|
|
BIN
public/fonts/TwemojiCountryFlags.woff2
Normal file
BIN
public/fonts/TwemojiCountryFlags.woff2
Normal file
Binary file not shown.
|
@ -47,6 +47,9 @@ library.add(
|
|||
faServer,
|
||||
faDonate,
|
||||
);
|
||||
import { polyfillCountryFlagEmojis } from "country-flag-emoji-polyfill";
|
||||
|
||||
polyfillCountryFlagEmojis({ fontUrl: "/fonts/TwemojiCountryFlags.woff2" });
|
||||
|
||||
import router from "@/router/router.js";
|
||||
import App from "./App.vue";
|
||||
|
|
12
yarn.lock
12
yarn.lock
|
@ -1898,6 +1898,13 @@ core-js@^3.26.0:
|
|||
resolved "https://registry.yarnpkg.com/core-js/-/core-js-3.26.0.tgz#a516db0ed0811be10eac5d94f3b8463d03faccfe"
|
||||
integrity sha512-+DkDrhoR4Y0PxDz6rurahuB+I45OsEUv8E1maPTB6OuHRohMMcznBq9TMpdpDMm/hUPob/mJJS3PqgbHpMTQgw==
|
||||
|
||||
country-flag-emoji-polyfill@^0.1.4:
|
||||
version "0.1.4"
|
||||
resolved "https://registry.yarnpkg.com/country-flag-emoji-polyfill/-/country-flag-emoji-polyfill-0.1.4.tgz#54b7ca61220c124b11d3091c46d16bd7f3ba0016"
|
||||
integrity sha512-e20azlb9yHb3mpL3lAlhkidmJgB5TELpA8oe0DPlyIfnqXhAGBmgLDpC+mm+Envh57n1xPrOfkJtXq2CrpvoGQ==
|
||||
dependencies:
|
||||
is-emoji-supported "^0.0.5"
|
||||
|
||||
cross-spawn@^7.0.2, cross-spawn@^7.0.3:
|
||||
version "7.0.3"
|
||||
resolved "https://registry.yarnpkg.com/cross-spawn/-/cross-spawn-7.0.3.tgz#f73a85b9d5d41d045551c177e2882d4ac85728a6"
|
||||
|
@ -2706,6 +2713,11 @@ is-date-object@^1.0.1:
|
|||
dependencies:
|
||||
has-tostringtag "^1.0.0"
|
||||
|
||||
is-emoji-supported@^0.0.5:
|
||||
version "0.0.5"
|
||||
resolved "https://registry.yarnpkg.com/is-emoji-supported/-/is-emoji-supported-0.0.5.tgz#f22301b22c63d6322935e829f39dfa59d03a7fe2"
|
||||
integrity sha512-WOlXUhDDHxYqcSmFZis+xWhhqXiK2SU0iYiqmth5Ip0FHLZQAt9rKL5ahnilE8/86WH8tZ3bmNNNC+bTzamqlw==
|
||||
|
||||
is-extglob@^2.1.1:
|
||||
version "2.1.1"
|
||||
resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue