Hierarchy

Constructors

  • Parameters

    • 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"
    • Optional context: string
    • Optional layer: string

    Returns Module

Properties

buildInfo: Record<string, any>
buildMeta: BuildMeta
codeGenerationDependencies?: Dependency[]
context: null | string
debugId: number
dependencies: Dependency[]
depth: number
factoryMeta?: object
id: string | number
index: number
index2: number
issuer: null | Module
layer: null | string
needId: boolean
presentationalDependencies?: Dependency[]
profile: null | ModuleProfile
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

Accessors

  • 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

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns boolean

  • 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 Chunk[]

  • Returns undefined | string

  • Parameters

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

  • Returns number

  • Returns number

  • Returns number

  • 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 boolean

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Returns string

  • Returns void

  • Parameters

    Returns boolean

  • Parameters

    Returns boolean

  • Returns boolean

  • Parameters

    • Optional chunk: any

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • exportName: string

    Returns null | boolean

  • Parameters

    Returns null | string

  • 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

  • Returns null | Source

  • Parameters

    Returns string

  • Parameters

    • Optional chunk: any

    Returns void

  • Parameters

    • Optional type: string

    Returns number

  • Parameters

    Returns Source

  • 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