跳到主要内容
版本:Next

ESModuleFileDetector

ES module loader

Hierarchy

Index

Constructors

constructor

  • new ESModuleFileDetector(options?: { conflictCheck?: boolean; ignore?: string | string[]; loadDir?: string | string[]; namespace?: string; pattern?: string | string[] }): ESModuleFileDetector

Properties

extraDetectorOptions

extraDetectorOptions: { conflictCheck?: boolean; ignore?: string | string[]; loadDir?: string | string[]; namespace?: string; pattern?: string | string[] }

options

options: { conflictCheck?: boolean; ignore?: string | string[]; loadDir?: string | string[]; namespace?: string; pattern?: string | string[] }

Methods

getType

  • getType(): commonjs | module

loadAsync

  • loadAsync(container: any): Promise<void>

loadSync

  • loadSync(container: any): void

run

  • run(container: any): void | Promise<void>

setExtraDetectorOptions

  • setExtraDetectorOptions(detectorOptions: { conflictCheck?: boolean; ignore?: string | string[]; loadDir?: string | string[]; namespace?: string; pattern?: string | string[] }): void