Skip to content

don't cachebust twemoji, so we can dynamically load the right font dialect#9797

Closed
ara4n wants to merge 1 commit into
developfrom
matthew/fontmanager
Closed

don't cachebust twemoji, so we can dynamically load the right font dialect#9797
ara4n wants to merge 1 commit into
developfrom
matthew/fontmanager

Conversation

@ara4n
Copy link
Copy Markdown
Member

@ara4n ara4n commented May 22, 2019

@ara4n ara4n requested a review from a team May 22, 2019 01:41
@jryans jryans requested review from bwindels and jryans and removed request for a team and jryans May 22, 2019 08:22
Comment thread webpack.config.js
oneOf: [
{
// allow runtime loading of twemoji (at the expense of cachebusting).
resource: /TwemojiMozilla.*\.woff2$/,
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be possible to load these fonts in the font manager via require as we do for images in JS, which would allow us to keep the cache busting, and we wouldn't need any changes here.

@jryans
Copy link
Copy Markdown
Collaborator

jryans commented May 22, 2019

@bwindels's additions to matrix-org/matrix-react-sdk#3008 mean we no longer need this part.

@jryans jryans closed this May 22, 2019
@jryans jryans removed the request for review from bwindels May 22, 2019 09:34
@t3chguy t3chguy deleted the matthew/fontmanager branch February 11, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants