On this page

new JavascriptModulesPlugin(options?): JavascriptModulesPlugin
Attributes
options:<object>
Attributes
options:<object>
chunkHasJs:<object>
apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:
{void}

Apply the plugin


renderBootstrap(renderContext, hooks): void

renderChunk(renderContext, hooks): Source
Attributes
Returns:<Source>
the rendered source

renderMain(renderContext, hooks, compilation): void

renderModule(module, renderContext, hooks): Source | null
Attributes
module:<Module>
the rendered module
renderContext:<ModuleRenderContext>
options object
Returns:<Source> | <null>
the newly generated source from rendering

renderRequire(renderContext, hooks): void

updateHashWithBootstrap(hash, renderContext, hooks): void

Attributes
chunk:<Chunk>
chunk
outputOptions:
{OutputNormalizedWithDefaults} output options
used filename template

Attributes
compilation:<Compilation>
the compilation