vite-plugin-vue2
Version:
Vite plugin for Vue2
15 lines (14 loc) • 535 B
TypeScript
import type { TransformAssetUrlsOptions } from './assetUrl';
export interface Attr {
name: string;
value: string;
}
export interface ASTNode {
tag: string;
attrs: Attr[];
}
export declare function urlToRequire(url: string, transformAssetUrlsOption?: TransformAssetUrlsOptions): string;
export declare function isHashUrl(url: string): boolean;
export declare function isExternalUrl(url: string): boolean;
export declare function isDataUrl(url: string): boolean;
export declare function isAbsolute(url: string): boolean;