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

Preload only `woff2` fonts
pull/17626/head
J. Ryan Stinnett 1 year ago committed by GitHub
commit ef8e39050a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      webpack.config.js

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

Loading…
Cancel
Save