Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Properties

emitFile: EmitFile
getModuleInfo: GetModuleInfo
parse: ParseAst

Methods

  • addWatchFile(id: string): void
  • error(error: string | RollupError, pos?: number | { column: number; line: number }): never
  • Parameters

    • error: string | RollupError
    • Optional pos: number | { column: number; line: number }

    Returns never

  • Returns SourceMap

  • getFileName(fileReferenceId: string): string
  • Parameters

    • fileReferenceId: string

    Returns string

  • getModuleIds(): IterableIterator<string>
  • getWatchFiles(): string[]
  • 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