Merge pull request #17614 from vector-im/jryans/preload-woff2-only

Preload only `woff2` fonts
This commit is contained in:
J. Ryan Stinnett 2021-06-10 14:42:38 +01:00 committed by GitHub
commit ef8e39050a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -431,7 +431,7 @@ module.exports = (env, argv) => {
}),
new HtmlWebpackInjectPreload({
files: [{ match: /.*Inter.*\.woff2?$/ }],
files: [{ match: /.*Inter.*\.woff2$/ }],
}),
...additionalPlugins,