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

Preload only `woff2` fonts
pull/17626/head
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
1 changed files with 1 additions and 1 deletions

View File

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