Cloud Functions which hosts twemoji with a predictable url.
You can get any twemoji urls without parsing DOM or text using twemoji or twemoji-parser.This will reduce client bundle size.
Example with gcloud:
gcloud functions deploy twemoji \
--region=[region-name] \
--memory=256 \
--timeout=3s \
--source=. \
--entry-point=twemoji \
--project=[gcp-project-name] \
--trigger-http \
--allow-unauthenticated