Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "plugin/inline/inline-tpl"

Index

Interfaces

Type aliases

Variables

Functions

Type aliases

Make

Make: function

Type declaration

    • (str: string): Promise<number>
    • Parameters

      • str: string

      Returns Promise<number>

Variables

Const debug

debug: any = Debug('inline:parseTpl')

Functions

getSourceContent

  • getSourceContent(make: Make, filePath: string, inner?: boolean, attr?: string): string | Buffer
  • Parameters

    • make: Make
    • filePath: string
    • Default value inner: boolean = true
    • Default value attr: string = ""

    Returns string | Buffer

inline

  • inline(make: Make, reg: RegExp, content: string, path: string, options: TplInlineOption): Promise<string>

inlineTpl

  • inlineTpl(make: Make, content: string, path: string, options: TplInlineOption): Promise<string>

modifySourceUrl

  • modifySourceUrl(make: Make, content: string, prefix: string, base: string, file: string): Promise<string>

Generated using TypeDoc