( fontId: string, subset: string, axes: string, style: string, )
| 37 | cleanPaths(`./files/${fontId}-${subset}-${weight}-${style}.${extension}`); |
| 38 | |
| 39 | const makeVariableFontFilePath = ( |
| 40 | fontId: string, |
| 41 | subset: string, |
| 42 | axes: string, |
| 43 | style: string, |
| 44 | ): string => cleanPaths(`./files/${fontId}-${subset}-${axes}-${style}.woff2`); |
| 45 | |
| 46 | // Insert a weight array to find the closest number given num - used for index.css gen |
| 47 | const findClosest = (arr: number[], num: number): number => { |
no test coverage detected