Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Compiler

Index

Constructors

Properties

cache: Cache
compilerPath: string
context: string
contextTimestamps?: ReadonlyMap<string, null | "ignore" | FileSystemInfoEntry>
fileTimestamps?: ReadonlyMap<string, null | "ignore" | FileSystemInfoEntry>
fsStartTime?: number
hooks: Readonly<{ additionalPass: AsyncSeriesHook<[], UnsetAdditionalOptions>; afterCompile: AsyncSeriesHook<[Compilation], UnsetAdditionalOptions>; afterDone: SyncHook<[Stats], void, UnsetAdditionalOptions>; afterEmit: AsyncSeriesHook<[Compilation], UnsetAdditionalOptions>; afterEnvironment: SyncHook<[], void, UnsetAdditionalOptions>; afterPlugins: SyncHook<[Compiler], void, UnsetAdditionalOptions>; afterResolvers: SyncHook<[Compiler], void, UnsetAdditionalOptions>; assetEmitted: AsyncSeriesHook<[string, "/home/runner/work/forge/forge/node_modules/webpack/types".AssetEmittedInfo], UnsetAdditionalOptions>; beforeCompile: AsyncSeriesHook<[CompilationParams], UnsetAdditionalOptions>; beforeRun: AsyncSeriesHook<[Compiler], UnsetAdditionalOptions>; compilation: SyncHook<[Compilation, CompilationParams], void, UnsetAdditionalOptions>; compile: SyncHook<[CompilationParams], void, UnsetAdditionalOptions>; contextModuleFactory: SyncHook<[ContextModuleFactory], void, UnsetAdditionalOptions>; done: AsyncSeriesHook<[Stats], UnsetAdditionalOptions>; emit: AsyncSeriesHook<[Compilation], UnsetAdditionalOptions>; emitRecords: AsyncSeriesHook<[], UnsetAdditionalOptions>; entryOption: SyncBailHook<[string, "/home/runner/work/forge/forge/node_modules/webpack/types".EntryNormalized], boolean, UnsetAdditionalOptions>; environment: SyncHook<[], void, UnsetAdditionalOptions>; failed: SyncHook<[Error], void, UnsetAdditionalOptions>; finishMake: AsyncParallelHook<[Compilation], UnsetAdditionalOptions>; infrastructureLog: SyncBailHook<[string, string, any[]], true, UnsetAdditionalOptions>; initialize: SyncHook<[], void, UnsetAdditionalOptions>; invalid: SyncHook<[null | string, number], void, UnsetAdditionalOptions>; make: AsyncParallelHook<[Compilation], UnsetAdditionalOptions>; normalModuleFactory: SyncHook<[NormalModuleFactory], void, UnsetAdditionalOptions>; readRecords: AsyncSeriesHook<[], UnsetAdditionalOptions>; run: AsyncSeriesHook<[Compiler], UnsetAdditionalOptions>; shouldEmit: SyncBailHook<[Compilation], undefined | boolean, UnsetAdditionalOptions>; shutdown: AsyncSeriesHook<[], UnsetAdditionalOptions>; thisCompilation: SyncHook<[Compilation, CompilationParams], void, UnsetAdditionalOptions>; watchClose: SyncHook<[], void, UnsetAdditionalOptions>; watchRun: AsyncSeriesHook<[Compiler], UnsetAdditionalOptions> }>
idle: boolean
immutablePaths: Set<string | RegExp>
infrastructureLogger: any
inputFileSystem: InputFileSystem
intermediateFileSystem: IntermediateFileSystem
managedPaths: Set<string | RegExp>
modifiedFiles?: ReadonlySet<string>
moduleMemCaches?: Map<Module, { buildInfo: object; memCache: WeakTupleMap<any, any>; references: WeakMap<"/home/runner/work/forge/forge/node_modules/webpack/types".Dependency, Module> }>
name?: string
outputFileSystem: OutputFileSystem
outputPath: string
parentCompilation?: Compilation
records: object
recordsInputPath: null | string
recordsOutputPath: null | string
removedFiles?: ReadonlySet<string>
requestShortener: RequestShortener
resolverFactory: ResolverFactory
root: Compiler
running: boolean
watchFileSystem: WatchFileSystem
watchMode: boolean
watching?: Watching
webpack: __module

Methods

  • Parameters

    Returns void

  • Parameters

    • Optional params: any

    Returns Compilation

  • Parameters

    Returns void

  • Parameters

    • name: string

    Returns CacheFacade

  • getInfrastructureLogger(name: string | (() => string)): WebpackLogger
  • Parameters

    • name: string | (() => string)

    Returns WebpackLogger

  • isChild(): boolean
  • Returns boolean

  • purgeInputFileSystem(): void
  • Returns void

  • Parameters

    Returns void

  • runAsChild(callback: (err?: null | Error, entries?: Chunk[], compilation?: Compilation) => any): void
  • Parameters

    • callback: (err?: null | Error, entries?: Chunk[], compilation?: Compilation) => any
        • Parameters

          • Optional err: null | Error
          • Optional entries: Chunk[]
          • Optional compilation: Compilation

          Returns any

    Returns void