UNPKG

@bfoese/ngx-preload-fonts

Version:

Angular post-build tool to inject font preload links for fingerprinted fonts into the index file.

11 lines (10 loc) 579 B
export declare class FileUtil { private static regexFontType; private static regexFileTypeWithOptionalFingerprint; static normalizePath(path: string | undefined): string | undefined; static getFontType(font: string): string | undefined; static containsIndexFile(dir: string, indexFile: string): boolean; static getAppBuildDirs(root: string, indexFile: string): string[]; static getFileName(file: string): string | undefined; static filterFonts(files: string[], include: string[] | undefined, exclude: string[] | undefined): Map<string, string>; }