new DynamicEntryPlugin(context, entry): DynamicEntryPluginAttributes
context:
stringthe context path
entry:
() => Promise<EntryStaticNormalized>the entry value
Returns:
DynamicEntryPluginCreates an instance of DynamicEntryPlugin.
Attributes
context:
stringentry:
() => Promise<EntryStaticNormalized>apply(compiler): voidAttributes
Applies the plugin by registering its hooks on the compiler.