Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

emitFile: EmitFile
getModuleInfo: GetModuleInfo
parse: ParseAst

Methods

  • addWatchFile(id: string): void
  • Parameters

    • id: string

    Returns void

  • getFileName(fileReferenceId: string): string
  • Parameters

    • fileReferenceId: string

    Returns string

  • getModuleIds(): IterableIterator<string>
  • Returns IterableIterator<string>

  • getWatchFiles(): string[]
  • Returns string[]

  • Parameters

    Returns Promise<ModuleInfo>

  • resolve(source: string, importer?: string, options?: { attributes?: Record<string, string>; custom?: CustomPluginOptions; isEntry?: boolean; skipSelf?: boolean }): Promise<null | ResolvedId>
  • Parameters

    • source: string
    • Optional importer: string
    • Optional options: { attributes?: Record<string, string>; custom?: CustomPluginOptions; isEntry?: boolean; skipSelf?: boolean }
      • Optional attributes?: Record<string, string>
      • Optional custom?: CustomPluginOptions
      • Optional isEntry?: boolean
      • Optional skipSelf?: boolean

    Returns Promise<null | ResolvedId>

  • setAssetSource(assetReferenceId: string, source: string | Uint8Array): void
  • Parameters

    • assetReferenceId: string
    • source: string | Uint8Array

    Returns void