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