new GetChunkFilenameRuntimeModule(contentType, name, global, getFilenameForChunk, allChunks): GetChunkFilenameRuntimeModule<GetChunkFilenameRuntimeModule><boolean><AsyncDependenciesBlock[]><Chunk><ChunkGraph><Dependency[]><Compilation><string><string><number><Dependency[]><boolean><number><any><string><boolean><object><string><any><string><boolean><number><number><Module><any><string><string><string><boolean><string>
|
<object[]><boolean><Dependency[]><string><ResolveOptions><number><string><any><boolean><boolean><any><number><number><number><number>webpack.runtime.GetChunkFilenameRuntimeModule.addBlock(block): void<AsyncDependenciesBlock>Adds a DependencyBlock to DependencyBlock relationship. This is used for when a Module has a AsyncDependencyBlock tie (for code-splitting)
webpack.runtime.GetChunkFilenameRuntimeModule.addCacheDependencies(fileDependencies, contextDependencies, missingDependencies, buildDependencies): voidfileDependencies{LazySet} set where file dependencies are added to contextDependencies{LazySet} set where context dependencies are added to missingDependencies{LazySet} set where missing dependencies are added to buildDependencies{LazySet} set where build dependencies are added to - Returns: {void}
webpack.runtime.GetChunkFilenameRuntimeModule.addChunk(chunk): boolean<Chunk><boolean>webpack.runtime.GetChunkFilenameRuntimeModule.addCodeGenerationDependency(codeGenerationDependency): void<Dependency>webpack.runtime.GetChunkFilenameRuntimeModule.addDependency(dependency): void<Dependency>webpack.runtime.GetChunkFilenameRuntimeModule.addError(error): void<WebpackError>webpack.runtime.GetChunkFilenameRuntimeModule.addPresentationalDependency(presentationalDependency): void<Dependency>webpack.runtime.GetChunkFilenameRuntimeModule.addWarning(warning): void<WebpackError>webpack.runtime.GetChunkFilenameRuntimeModule.attach(compilation, chunk, chunkGraph?): void<Compilation><Chunk><ChunkGraph>webpack.runtime.GetChunkFilenameRuntimeModule.build(options, compilation, resolver, fs, callback): voidoptions{WebpackOptionsNormalizedWithDefaults} webpack optionscompilation<Compilation>the compilationresolver{ResolverWithOptions} the resolverfs<InputFileSystem>the file systemcallback<object>callback function- Returns: {void}
webpack.runtime.GetChunkFilenameRuntimeModule.chunkCondition(chunk, compilation): boolean<Chunk><Compilation><boolean>webpack.runtime.GetChunkFilenameRuntimeModule.cleanupForCache(): voidAssuming this module is in the cache. Remove internal references to allow freeing some memory.
webpack.runtime.GetChunkFilenameRuntimeModule.clearDependenciesAndBlocks(): voidRemoves all dependencies and blocks
webpack.runtime.GetChunkFilenameRuntimeModule.clearWarningsAndErrors(): voidremoves all warnings and errors
webpack.runtime.GetChunkFilenameRuntimeModule.codeGeneration(context): voidcontext{CodeGenerationContext} context for code generation- Returns: {CodeGenerationResult} result
webpack.runtime.GetChunkFilenameRuntimeModule.deserialize(__namedParameters): void<ObjectDeserializerContext>webpack.runtime.GetChunkFilenameRuntimeModule.generate(): string<string>webpack.runtime.GetChunkFilenameRuntimeModule.getChunks(): Chunk[]<Chunk[]>webpack.runtime.GetChunkFilenameRuntimeModule.getConcatenationBailoutReason(context): voidcontext{ConcatenationBailoutReasonContext} context- Returns:
<string>reason why this module can't be concatenated, undefined when it can be concatenated
webpack.runtime.GetChunkFilenameRuntimeModule.getErrors(): Iterable<WebpackError, any, any>webpack.runtime.GetChunkFilenameRuntimeModule.getExportsType(moduleGraph, strict?): ExportsType<ModuleGraph><boolean>webpack.runtime.GetChunkFilenameRuntimeModule.getGeneratedCode(): string<string>webpack.runtime.GetChunkFilenameRuntimeModule.getNumberOfChunks(): number<number>webpack.runtime.GetChunkFilenameRuntimeModule.getNumberOfErrors(): number<number>webpack.runtime.GetChunkFilenameRuntimeModule.getNumberOfWarnings(): number<number>webpack.runtime.GetChunkFilenameRuntimeModule.getRootBlock(): DependenciesBlockwebpack.runtime.GetChunkFilenameRuntimeModule.getSideEffectsConnectionState(moduleGraph): ConnectionState<ModuleGraph>webpack.runtime.GetChunkFilenameRuntimeModule.getSourceBasicTypes(): ReadonlySet<string>Basic source types are high-level categories like javascript, css, webassembly, etc. We only have built-in knowledge about the javascript basic type here; other basic types may be added or changed over time by generators and do not need to be handled or detected here. Some modules, e.g. RemoteModule, may return non-basic source types like "remote" and "share-init" from getSourceTypes(), but their generated output is still JavaScript, i.e. their basic type is JS.
webpack.runtime.GetChunkFilenameRuntimeModule.getSourceTypes(): ReadonlySet<string>webpack.runtime.GetChunkFilenameRuntimeModule.getUnsafeCacheData(): UnsafeCacheDataModule should be unsafe cached. Get data that's needed for that. This data will be passed to restoreFromUnsafeCache later.
webpack.runtime.GetChunkFilenameRuntimeModule.getWarnings(): Iterable<WebpackError, any, any>webpack.runtime.GetChunkFilenameRuntimeModule.hasChunkCondition(): boolean<boolean>webpack.runtime.GetChunkFilenameRuntimeModule.hasReasonForChunk(chunk, moduleGraph, chunkGraph): boolean<boolean>webpack.runtime.GetChunkFilenameRuntimeModule.hasReasons(moduleGraph, runtime): boolean<ModuleGraph><boolean>webpack.runtime.GetChunkFilenameRuntimeModule.identifier(): string<string>webpack.runtime.GetChunkFilenameRuntimeModule.invalidateBuild(): voidwebpack.runtime.GetChunkFilenameRuntimeModule.isAccessibleInChunk(chunkGraph, chunk, ignoreChunk?): boolean<boolean>webpack.runtime.GetChunkFilenameRuntimeModule.isAccessibleInChunkGroup(chunkGraph, chunkGroup, ignoreChunk?): boolean<ChunkGraph><ChunkGroup><Chunk><boolean>webpack.runtime.GetChunkFilenameRuntimeModule.isEntryModule(): boolean<boolean>webpack.runtime.GetChunkFilenameRuntimeModule.isInChunk(chunk): boolean<Chunk><boolean>webpack.runtime.GetChunkFilenameRuntimeModule.isOptional(moduleGraph): boolean<ModuleGraph><boolean>webpack.runtime.GetChunkFilenameRuntimeModule.isProvided(exportName): boolean<string><boolean>webpack.runtime.GetChunkFilenameRuntimeModule.libIdent(options): voidoptions{LibIdentOptions} options- Returns:
<string>an identifier for library inclusion
webpack.runtime.GetChunkFilenameRuntimeModule.nameForCondition(): string<string>webpack.runtime.GetChunkFilenameRuntimeModule.needBuild(context, callback): voidcontext{NeedBuildContext} context infocallback<object>callback function, returns true, if the module needs a rebuild- Returns: {void}
webpack.runtime.GetChunkFilenameRuntimeModule.needRebuild(fileTimestamps, contextTimestamps): voidfileTimestamps{Map<string, number>}contextTimestamps{Map<string, number>}- Returns:
<boolean>
Use needBuild instead
webpack.runtime.GetChunkFilenameRuntimeModule.originalSource(): Source<Source>webpack.runtime.GetChunkFilenameRuntimeModule.readableIdentifier(requestShortener): voidrequestShortener{RequestShortener} the request shortener- Returns:
<string>a user readable identifier of the module
webpack.runtime.GetChunkFilenameRuntimeModule.removeChunk(chunk): void<Chunk>webpack.runtime.GetChunkFilenameRuntimeModule.removeDependency(dependency): void<Dependency>webpack.runtime.GetChunkFilenameRuntimeModule.serialize(__namedParameters): void<ObjectSerializerContext>webpack.runtime.GetChunkFilenameRuntimeModule.shouldIsolate(): boolean<boolean>webpack.runtime.GetChunkFilenameRuntimeModule.size(type?): number<string><number>webpack.runtime.GetChunkFilenameRuntimeModule.source(dependencyTemplates, runtimeTemplate, type?): voiddependencyTemplates{DependencyTemplates}runtimeTemplate{RuntimeTemplate}type<string>- Returns:
<Source>
Use codeGeneration() instead
webpack.runtime.GetChunkFilenameRuntimeModule.updateCacheModule(module): void<Module>Assuming this module is in the cache. Update the (cached) module with the fresh module from the factory. Usually updates internal references and properties.
webpack.runtime.GetChunkFilenameRuntimeModule.updateHash(hash, context): voidhash{Hash} the hash used to track dependenciescontext{UpdateHashContextDependency} context- Returns: {void}
webpack.runtime.GetChunkFilenameRuntimeModule.getSourceBasicTypes(module): ReadonlySet<string><Module>In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method.