( fontDir: string, fontId: string, subset: string, axes: string, style: string, )
| 16 | |
| 17 | // Some axes are all uppercase making packages inconsistent |
| 18 | const makeVariableFontDownloadPath = ( |
| 19 | fontDir: string, |
| 20 | fontId: string, |
| 21 | subset: string, |
| 22 | axes: string, |
| 23 | style: string, |
| 24 | ): string => |
| 25 | cleanPaths( |
| 26 | `${fontDir}/files/${fontId}-${subset}-${axes.toLowerCase()}-${style}.woff2`, |
| 27 | ); |
| 28 | |
| 29 | // Used for the src urls in CSS files |
| 30 | const makeFontFilePath = ( |
no test coverage detected