new AbstractLibraryPlugin(__namedParameters): void__namedParameters{AbstractLibraryPluginOptions}- Returns: {AbstractLibraryPlugin
}
Creates an instance of AbstractLibraryPlugin.
Attributes
COMMON_LIBRARY_NAME_MESSAGE:
<string>apply(compiler): voidAttributes
compiler:
<Compiler>Returns:
{void}
Applies the plugin by registering its hooks on the compiler.
chunkHash(chunk, hash, chunkHashContext, libraryContext): voidAttributes
Returns:
{void}
Processes the provided chunk.
embedInRuntimeBailout(module, renderContext, libraryContext): string | undefinedAttributes
Returns:
<string>
|
<undefined>Embed in runtime bailout.
finishEntryModule(module, entryName, libraryContext): voidAttributes
Returns:
{void}
Finish entry module.
parseOptions(library): TAttributes
library:
<LibraryOptions>Returns:
{T}
Returns preprocess as needed by overriding.
render(source, renderContext, libraryContext): SourceAttributes
Returns:
<Source>Returns source with library export.
renderModuleContent(source, module, renderContext, libraryContext): SourceAttributes
Returns:
<Source>Renders module content.
renderStartup(source, module, renderContext, libraryContext): SourceAttributes
Returns:
<Source>Renders source with library export.
runtimeRequirements(chunk, set, libraryContext): voidAttributes
Returns:
{void}
Processes the provided chunk.
strictRuntimeBailout(renderContext, libraryContext): voidrenderContext{RenderContextJavascriptModulesPlugin}libraryContext{LibraryContext} - Returns:
<string>|<undefined>
Strict runtime bailout.