Merge pull request #17614 from vector-im/jryans/preload-woff2-only
Preload only `woff2` fonts
This commit is contained in:
commit
ef8e39050a
1 changed files with 1 additions and 1 deletions
|
@ -431,7 +431,7 @@ module.exports = (env, argv) => {
|
|||
}),
|
||||
|
||||
new HtmlWebpackInjectPreload({
|
||||
files: [{ match: /.*Inter.*\.woff2?$/ }],
|
||||
files: [{ match: /.*Inter.*\.woff2$/ }],
|
||||
}),
|
||||
|
||||
...additionalPlugins,
|
||||
|
|
Loading…
Reference in a new issue