UNPKG

@openscript/unplugin-favicons

Version:

Generate favicons for your project with caching for blazing fast rebuilds.

13 lines 663 B
import type { EmittedFile, HtmlTagDescriptor } from "../types.js"; /** * Provided an array of EmittedFile objects and an array of HTML strings * returned by `favicons`, updates the href attributes in each <link> node to * contain the resolved file name produced by Vite rather than the original * input filename. Returns an array of HtmlTagDescriptor objects that may be * returned by `transformHtml`. * * See: https://vitejs.dev/guide/api-plugin.html#transformindexhtml */ declare const parseHtml: (emittedFiles: EmittedFile[], fragments: string[], base?: string) => HtmlTagDescriptor[]; export default parseHtml; //# sourceMappingURL=parse-html.d.ts.map