( tag: string, subset: string, axes: string, style: string, )
| 26 | }; |
| 27 | |
| 28 | export const makeFontFileVariablePath = ( |
| 29 | tag: string, |
| 30 | subset: string, |
| 31 | axes: string, |
| 32 | style: string, |
| 33 | ) => { |
| 34 | return `https://cdn.jsdelivr.net/fontsource/fonts/${tag}/${subset}-${axes}-${style}.woff2` |
| 35 | .replace('[', '') |
| 36 | .replace(']', ''); |
| 37 | }; |
| 38 | |
| 39 | const keyGen = (tag: string, filename: string) => `${tag}:${filename}`; |
| 40 | const keyGenV = (tag: string, filename: string) => |
no test coverage detected