diff --git a/.gitignore b/.gitignore index 7a745edb..ecfe4ad6 100644 --- a/.gitignore +++ b/.gitignore @@ -3,3 +3,10 @@ node_modules/ build dist/ .npmrc +.yarn/* +!.yarn/cache +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions \ No newline at end of file diff --git a/.yarnrc.yml b/.yarnrc.yml new file mode 100644 index 00000000..3186f3f0 --- /dev/null +++ b/.yarnrc.yml @@ -0,0 +1 @@ +nodeLinker: node-modules diff --git a/README.md b/README.md index 751463cb..d7a93bc3 100644 --- a/README.md +++ b/README.md @@ -10,19 +10,21 @@ The Twemoji library offers support for all Unicode-defined emoji which are recom ### CDN Support -The folks over at [MaxCDN](https://www.maxcdn.com) have graciously provided CDN support. +The folks over at [MaxCDN](https://www.maxcdn.com) have graciously provided CDN support. + +MaxCDN is shut down right now, so in the meanwhile use a different CDN or download the assets. (See [Maxcdn has shut down, cdn not working anymore. · Issue #580 · twitter/twemoji](https://github.com/twitter/twemoji/issues/580)). Use the following in the `` tag of your HTML document(s): ```html - + ``` This guarantees that you will always use the latest version of the library. If, instead, you'd like to include the latest version explicitly, you can add the following tag: ```html - + ``` ### Download diff --git a/index.d.ts b/index.d.ts index 4b7455ae..da76b2ce 100644 --- a/index.d.ts +++ b/index.d.ts @@ -13,7 +13,7 @@ export type ReplacerFunction = (substring: string, ...args: any[]) => string; export type TwemojiOptions = { /** - * Default: MaxCDN + * Default: Cloudflare */ base?: string; /** diff --git a/index.html b/index.html index d8e46dfe..6649d817 100644 --- a/index.html +++ b/index.html @@ -44,7 +44,7 @@

Code licensed under MIT. Graphics licensed under CC-BY

- + +