@web/rollup-plugin-html
Version:
Rollup plugin for bundling HTML files
9 lines • 650 B
TypeScript
import { Document, Element } from 'parse5';
import picomatch from 'picomatch';
export declare function isHashedAsset(node: Element): boolean;
export declare function resolveAssetFilePath(browserPath: string, htmlDir: string, projectRootDir: string, absolutePathPrefix?: string): string;
export declare function getSourceAttribute(node: Element): "srcset" | "src" | "href" | "content";
export declare function getSourcePaths(node: Element): string[];
export declare function findAssets(document: Document): Element[];
export declare function createAssetPicomatchMatcher(glob?: string | string[]): picomatch.Matcher;
//# sourceMappingURL=utils.d.ts.map