chore: typo #3052

Merged
konrad merged 1 commits from dpschen/frontend:fix-typo-in-creatFontMatcher-comment into main 2023-02-02 19:11:09 +00:00

View File

@ -41,7 +41,7 @@ function createFontMatcher(fontNames: string[]) {
// The `match` option for the files of VitePluginInjectPreload
// matches the _output_ files.
// Since we only want to mach variable fonts, we exploit here the fact
// that we added the `wght` term to indicate the variable weiht axis.
// that we added the `wght` term to indicate the variable weight axis.
// The format is something like:
// `/assets/OpenSans-Italic_wght__c9a8fe68-5f21f1e7.woff2`
// see: https://regex101.com/r/UgUWr1/1