Hierarchy

Constructors

Properties

Accessors

Methods

Constructors

Properties

binary: boolean
buildInfo: Record<string, any>
buildMeta: BuildMeta
codeGenerationDependencies?: Dependency[]
context: null | string
debugId: number
dependencies: Dependency[]
depth: number
error?: null | WebpackError
factoryMeta?: object
generator: Generator
generatorOptions?: Record<string, any>
id: string | number
index: number
index2: number
issuer: null | Module
layer: null | string
loaders: LoaderItem[]
matchResource?: string
needId: boolean
parser: Parser
parserOptions?: Record<string, any>
presentationalDependencies?: Dependency[]
profile: null | ModuleProfile
rawRequest: string
request: string
resource: string
resourceResolveData?: Record<string, any>
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
userRequest: string

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

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    Returns void

  • Parameters

    • Optional rule: any
    • Optional content: any

    Returns any

  • Parameters

    Returns boolean

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

    Returns void

  • Removes all dependencies and blocks

    Returns void

  • removes all warnings and errors

    Returns void

  • Parameters

    • context: string
    • content: string | Buffer
    • Optional sourceMap: any
    • Optional associatedObjectForCache: Object

    Returns Source

  • Parameters

    • context: string
    • name: string
    • content: string
    • Optional sourceMap: any
    • Optional associatedObjectForCache: Object

    Returns Source

  • Parameters

    • Optional loaderContext: any
    • Optional index: any

    Returns null | LoaderItem

  • 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

  • Returns string

  • Returns void

  • Parameters

    Returns boolean

  • Returns boolean

  • Parameters

    • Optional chunk: any

    Returns boolean

  • Parameters

    Returns boolean

  • Parameters

    • exportName: string

    Returns null | boolean

  • Parameters

    Returns null | string

  • Parameters

    Returns void

  • 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

  • Parameters

    Returns void

  • Parameters

    • Optional unsafeCacheData: any
    • Optional normalModuleFactory: any

    Returns void

  • Parameters

    • Optional noParseRule: any
    • Optional request: any

    Returns any

  • 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

  • Parameters

    • Optional context: any

    Returns NormalModule

Generated using TypeDoc