utils.d.ts 297 B

12345678910
  1. import { TransformAssetUrlsOptions } from './assetUrl';
  2. export interface Attr {
  3. name: string;
  4. value: string;
  5. }
  6. export interface ASTNode {
  7. tag: string;
  8. attrs: Attr[];
  9. }
  10. export declare function urlToRequire(url: string, transformAssetUrlsOption?: TransformAssetUrlsOptions): string;