new AbstractLibraryPlugin(__namedParameters): AbstractLibraryPlugin<T>Attributes
__namedParameters:
<AbstractLibraryPluginOptions>options
Returns:
{AbstractLibraryPlugin
}
Attributes
COMMON_LIBRARY_NAME_MESSAGE:
<string>apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
{void}
Apply the plugin
chunkHash(chunk, hash, chunkHashContext, libraryContext): voidAttributes
chunk:
<Chunk>the chunk
hash:
{Hash} hash
chunkHashContext:
<ChunkHashContext>chunk hash context
libraryContext:
{LibraryContext
} context
Returns:
{void}
embedInRuntimeBailout(module, renderContext, libraryContext): string | undefinedAttributes
module:
<Module>the exporting entry module
renderContext:
<RenderContextJavascriptModulesPlugin>render context
libraryContext:
{LibraryContext
} context
Returns:
<string>
|
<undefined>bailout reason
finishEntryModule(module, entryName, libraryContext): voidAttributes
Returns:
{void}
parseOptions(library): TAttributes
library:
<LibraryOptions>normalized library option
Returns:
{T} preprocess as needed by overriding
render(source, renderContext, libraryContext): SourceAttributes
source:
<Source>source
renderContext:
<RenderContextJavascriptModulesPlugin>render context
libraryContext:
{LibraryContext
} context
Returns:
<Source>source with library export
renderModuleContent(source, module, renderContext, libraryContext): SourceAttributes
source:
<Source>source
module:
<Module>module
renderContext:
<ModuleRenderContext>render context
libraryContext:
{Omit<LibraryContext
, "options">} context
Returns:
<Source>source with library export
renderStartup(source, module, renderContext, libraryContext): SourceAttributes
Returns:
<Source>source with library export
runtimeRequirements(chunk, set, libraryContext): voidAttributes
Returns:
{void}
strictRuntimeBailout(renderContext, libraryContext): string | undefinedAttributes
renderContext:
<RenderContextJavascriptModulesPlugin>render context
libraryContext:
{LibraryContext
} context
Returns:
<string>
|
<undefined>bailout reason