Hierarchy

Constructors

Properties

buildInfo: Record<string, any>
buildMeta: BuildMeta
chunk: Chunk
chunkGraph: ChunkGraph
codeGenerationDependencies?: Dependency[]
compilation: Compilation
context: null | string
debugId: number
dependencies: Dependency[]
dependentHash: boolean
depth: number
factoryMeta?: object
fullHash: boolean
id: string | number
index: number
index2: number
issuer: null | Module
layer: null | string
name: string
needId: boolean
presentationalDependencies?: Dependency[]
profile: null | ModuleProfile
stage: number
type: "" | "runtime" | "javascript/auto" | "javascript/dynamic" | "javascript/esm" | "json" | "webassembly/async" | "webassembly/sync" | "css" | "css/global" | "css/module" | "asset" | "asset/inline" | "asset/resource" | "asset/source" | "asset/raw-data-url" | "fallback-module" | "remote-module" | "provide-module" | "consume-shared-module" | "lazy-compilation-proxy"
useSimpleSourceMap: boolean
useSourceMap: boolean
used: any
STAGE_ATTACH: number

Runtime modules which attach to handlers of other runtime modules

STAGE_BASIC: number

Runtime modules with simple dependencies on other runtime modules

STAGE_NORMAL: number

Runtime modules without any dependencies to other runtime modules

STAGE_TRIGGER: number

Runtime modules which trigger actions on bootstrap

Accessors

  • get chunksIterable(): Iterable<Chunk>
  • Returns Iterable<Chunk>

  • get errors(): any
  • Returns any

  • get exportsArgument(): string
  • Returns string

  • get hasEqualsChunks(): any
  • Returns any

  • get hash(): string
  • Returns string

  • get isUsed(): any
  • Returns any

  • get moduleArgument(): string
  • Returns string

  • get optimizationBailout(): (string | ((requestShortener) => string))[]
  • Returns (string | ((requestShortener) => string))[]

  • get optional(): boolean
  • Returns boolean

  • get renderedHash(): string
  • Returns string

  • get usedExports(): null | boolean | SortableSet<string>
  • Returns null | boolean | SortableSet<string>

  • get warnings(): any
  • Returns any

Methods

  • Adds a DependencyBlock to DependencyBlock relationship. This is used for when a Module has a AsyncDependencyBlock tie (for code-splitting)

    Parameters

    Returns void

  • Parameters

    • fileDependencies: LazySet<string>
    • contextDependencies: LazySet<string>
    • missingDependencies: LazySet<string>
    • buildDependencies: LazySet<string>

    Returns void

  • Parameters

    • Optional chunk: any

    Returns boolean

  • Parameters

    Returns void

  • Assuming this module is in the cache. Remove internal references to allow freeing some memory.

    Returns void

  • removes all warnings and errors

    Returns void

  • Returns string

  • Parameters

    Returns "namespace" | "default-only" | "default-with-named" | "dynamic"

  • Returns Set<string>

  • Module should be unsafe cached. Get data that's needed for that. This data will be passed to restoreFromUnsafeCache later.

    Returns object

  • Returns string

  • Returns boolean

  • Parameters

    • Optional chunk: any

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • exportName: string

    Returns null | boolean

  • Returns null | string

  • Parameters

    • context: NeedBuildContext
    • callback: ((arg0?, arg1?) => void)
        • (arg0?, arg1?): void
        • Parameters

          Returns void

    Returns void

  • Parameters

    • fileTimestamps: Map<string, null | number>
    • contextTimestamps: Map<string, null | number>

    Returns boolean

  • Parameters

    • Optional chunk: any

    Returns void

  • Returns boolean

  • Parameters

    • Optional type: string

    Returns number

  • Assuming this module is in the cache. Update the (cached) module with the fresh module from the factory. Usually updates internal references and properties.

    Parameters

    Returns void

Generated using TypeDoc