bpms_site/.svn/pristine/2a/2a007f75f56f10fcc76efa01f0d83b52a8edbf43.svn-base
2025-11-02 16:38:49 +03:30

10 lines
413 B
Plaintext

/**
* Find all font files in the CSS response and determine which files should be preloaded.
* In Google Fonts responses, the @font-face's subset is above it in a comment.
* Walk through the CSS from top to bottom, keeping track of the current subset.
*/
export declare function findFontFilesInCss(css: string, subsetsToPreload?: string[]): {
googleFontFileUrl: string;
preloadFontFile: boolean;
}[];