new AbstractLibraryPlugin(__namedParameters): void__namedParameters{AbstractLibraryPluginOptions} options- Returns: {AbstractLibraryPlugin
}
Attributes
COMMON_LIBRARY_NAME_MESSAGE:
<string>webpack.library.AbstractLibraryPlugin.apply(compiler): voidcompiler{Compiler} the compiler instance- Returns: {void}
Apply the plugin
webpack.library.AbstractLibraryPlugin.chunkHash(chunk, hash, chunkHashContext, libraryContext): voidchunk{Chunk} the chunkhash{Hash} hashchunkHashContext{ChunkHashContext} chunk hash contextlibraryContext{LibraryContext} context - Returns: {void}
webpack.library.AbstractLibraryPlugin.embedInRuntimeBailout(module, renderContext, libraryContext): voidmodule{Module} the exporting entry modulerenderContext{RenderContextJavascriptModulesPlugin} render contextlibraryContext{LibraryContext} context - Returns:
<string>bailout reason
webpack.library.AbstractLibraryPlugin.finishEntryModule(module, entryName, libraryContext): voidmodule{Module} the exporting entry moduleentryName<string>the name of the entrypointlibraryContext{LibraryContext} context - Returns: {void}
webpack.library.AbstractLibraryPlugin.parseOptions(library): voidlibrary{LibraryOptions} normalized library option- Returns: {T} preprocess as needed by overriding
webpack.library.AbstractLibraryPlugin.render(source, renderContext, libraryContext): voidsource{Source} sourcerenderContext{RenderContextJavascriptModulesPlugin} render contextlibraryContext{LibraryContext} context - Returns: {Source} source with library export
webpack.library.AbstractLibraryPlugin.renderModuleContent(source, module, renderContext, libraryContext): voidsource{Source} sourcemodule{Module} modulerenderContext{ModuleRenderContext} render contextlibraryContext{Omit<LibraryContext, "options">} context - Returns: {Source} source with library export
webpack.library.AbstractLibraryPlugin.renderStartup(source, module, renderContext, libraryContext): voidsource{Source} sourcemodule{Module} modulerenderContext{StartupRenderContext} render contextlibraryContext{LibraryContext} context - Returns: {Source} source with library export
webpack.library.AbstractLibraryPlugin.runtimeRequirements(chunk, set, libraryContext): voidchunk{Chunk} the chunkset{Set} runtime requirements libraryContext{LibraryContext} context - Returns: {void}
webpack.library.AbstractLibraryPlugin.strictRuntimeBailout(renderContext, libraryContext): voidrenderContext{RenderContextJavascriptModulesPlugin} render contextlibraryContext{LibraryContext} context - Returns:
<string>bailout reason