new CssLoadingRuntimeModule(runtimeRequirements): voidruntimeRequirements{ReadonlySet} runtime requirements - Returns:
<CssLoadingRuntimeModule>
<AsyncDependenciesBlock[]><Chunk><ChunkGraph><Dependency[]><Compilation><string><number><Dependency[]><boolean><number><any><string><boolean><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.web.CssLoadingRuntimeModule.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.web.CssLoadingRuntimeModule.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.web.CssLoadingRuntimeModule.addChunk(chunk): boolean<Chunk><boolean>webpack.web.CssLoadingRuntimeModule.addCodeGenerationDependency(codeGenerationDependency): void<Dependency>webpack.web.CssLoadingRuntimeModule.addDependency(dependency): void<Dependency>webpack.web.CssLoadingRuntimeModule.addError(error): void<WebpackError>webpack.web.CssLoadingRuntimeModule.addPresentationalDependency(presentationalDependency): void<Dependency>webpack.web.CssLoadingRuntimeModule.addWarning(warning): void<WebpackError>webpack.web.CssLoadingRuntimeModule.attach(compilation, chunk, chunkGraph?): void<Compilation><Chunk><ChunkGraph>webpack.web.CssLoadingRuntimeModule.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.web.CssLoadingRuntimeModule.chunkCondition(chunk, compilation): boolean<Chunk><Compilation><boolean>webpack.web.CssLoadingRuntimeModule.cleanupForCache(): voidAssuming this module is in the cache. Remove internal references to allow freeing some memory.
webpack.web.CssLoadingRuntimeModule.clearDependenciesAndBlocks(): voidRemoves all dependencies and blocks
webpack.web.CssLoadingRuntimeModule.clearWarningsAndErrors(): voidremoves all warnings and errors
webpack.web.CssLoadingRuntimeModule.codeGeneration(context): voidcontext{CodeGenerationContext} context for code generation- Returns: {CodeGenerationResult} result
webpack.web.CssLoadingRuntimeModule.deserialize(__namedParameters): void<ObjectDeserializerContext>webpack.web.CssLoadingRuntimeModule.generate(): string<string>webpack.web.CssLoadingRuntimeModule.getChunks(): Chunk[]<Chunk[]>webpack.web.CssLoadingRuntimeModule.getConcatenationBailoutReason(context): voidcontext{ConcatenationBailoutReasonContext} context- Returns:
<string>reason why this module can't be concatenated, undefined when it can be concatenated
webpack.web.CssLoadingRuntimeModule.getErrors(): Iterable<WebpackError, any, any>webpack.web.CssLoadingRuntimeModule.getExportsType(moduleGraph, strict?): ExportsType<ModuleGraph><boolean>webpack.web.CssLoadingRuntimeModule.getGeneratedCode(): string<string>webpack.web.CssLoadingRuntimeModule.getNumberOfChunks(): number<number>webpack.web.CssLoadingRuntimeModule.getNumberOfErrors(): number<number>webpack.web.CssLoadingRuntimeModule.getNumberOfWarnings(): number<number>webpack.web.CssLoadingRuntimeModule.getRootBlock(): DependenciesBlockwebpack.web.CssLoadingRuntimeModule.getSideEffectsConnectionState(moduleGraph): ConnectionState<ModuleGraph>webpack.web.CssLoadingRuntimeModule.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.web.CssLoadingRuntimeModule.getSourceTypes(): ReadonlySet<string>webpack.web.CssLoadingRuntimeModule.getUnsafeCacheData(): UnsafeCacheDataModule should be unsafe cached. Get data that's needed for that. This data will be passed to restoreFromUnsafeCache later.
webpack.web.CssLoadingRuntimeModule.getWarnings(): Iterable<WebpackError, any, any>webpack.web.CssLoadingRuntimeModule.hasChunkCondition(): boolean<boolean>webpack.web.CssLoadingRuntimeModule.hasReasonForChunk(chunk, moduleGraph, chunkGraph): boolean<boolean>webpack.web.CssLoadingRuntimeModule.hasReasons(moduleGraph, runtime): boolean<ModuleGraph><boolean>webpack.web.CssLoadingRuntimeModule.identifier(): string<string>webpack.web.CssLoadingRuntimeModule.invalidateBuild(): voidwebpack.web.CssLoadingRuntimeModule.isAccessibleInChunk(chunkGraph, chunk, ignoreChunk?): boolean<boolean>webpack.web.CssLoadingRuntimeModule.isAccessibleInChunkGroup(chunkGraph, chunkGroup, ignoreChunk?): boolean<ChunkGraph><ChunkGroup><Chunk><boolean>webpack.web.CssLoadingRuntimeModule.isEntryModule(): boolean<boolean>webpack.web.CssLoadingRuntimeModule.isInChunk(chunk): boolean<Chunk><boolean>webpack.web.CssLoadingRuntimeModule.isOptional(moduleGraph): boolean<ModuleGraph><boolean>webpack.web.CssLoadingRuntimeModule.isProvided(exportName): boolean<string><boolean>webpack.web.CssLoadingRuntimeModule.libIdent(options): voidoptions{LibIdentOptions} options- Returns:
<string>an identifier for library inclusion
webpack.web.CssLoadingRuntimeModule.nameForCondition(): string<string>webpack.web.CssLoadingRuntimeModule.needBuild(context, callback): voidcontext{NeedBuildContext} context infocallback<object>callback function, returns true, if the module needs a rebuild- Returns: {void}
webpack.web.CssLoadingRuntimeModule.needRebuild(fileTimestamps, contextTimestamps): voidfileTimestamps{Map<string, number>}contextTimestamps{Map<string, number>}- Returns:
<boolean>
Use needBuild instead
webpack.web.CssLoadingRuntimeModule.originalSource(): Source<Source>webpack.web.CssLoadingRuntimeModule.readableIdentifier(requestShortener): voidrequestShortener{RequestShortener} the request shortener- Returns:
<string>a user readable identifier of the module
webpack.web.CssLoadingRuntimeModule.removeChunk(chunk): void<Chunk>webpack.web.CssLoadingRuntimeModule.removeDependency(dependency): void<Dependency>webpack.web.CssLoadingRuntimeModule.serialize(__namedParameters): void<ObjectSerializerContext>webpack.web.CssLoadingRuntimeModule.shouldIsolate(): boolean<boolean>webpack.web.CssLoadingRuntimeModule.size(type?): number<string><number>webpack.web.CssLoadingRuntimeModule.source(dependencyTemplates, runtimeTemplate, type?): voiddependencyTemplates{DependencyTemplates}runtimeTemplate{RuntimeTemplate}type<string>- Returns:
<Source>
Use codeGeneration() instead
webpack.web.CssLoadingRuntimeModule.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.web.CssLoadingRuntimeModule.updateHash(hash, context): voidhash{Hash} the hash used to track dependenciescontext{UpdateHashContextDependency} context- Returns: {void}
webpack.web.CssLoadingRuntimeModule.getCompilationHooks(compilation): CssLoadingRuntimeModulePluginHooks<Compilation>webpack.web.CssLoadingRuntimeModule.getSourceBasicTypes(module): ReadonlySet<string><Module>In webpack 6, call getSourceBasicTypes() directly on the module instance instead of using this static method.