mirror of
https://github.com/SchildiChat/element-web.git
synced 2024-10-01 01:26:12 -04:00
Preload only woff2
fonts
All of our supported browsers understand `woff2`, so there's no need to make everyone preload the older `woff` as well.
This commit is contained in:
parent
2784bc7916
commit
8d05d8481a
@ -431,7 +431,7 @@ module.exports = (env, argv) => {
|
|||||||
}),
|
}),
|
||||||
|
|
||||||
new HtmlWebpackInjectPreload({
|
new HtmlWebpackInjectPreload({
|
||||||
files: [{ match: /.*Inter.*\.woff2?$/ }],
|
files: [{ match: /.*Inter.*\.woff2$/ }],
|
||||||
}),
|
}),
|
||||||
|
|
||||||
...additionalPlugins,
|
...additionalPlugins,
|
||||||
|
Loading…
Reference in New Issue
Block a user