mirror of https://github.com/vector-im/riot-web
Merge pull request #17614 from vector-im/jryans/preload-woff2-only
Preload only `woff2` fontspull/17626/head
commit
ef8e39050a
|
@ -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