new InitFragment(content, stage, position, key?, endContent?): InitFragment<GenerateContext>Attributes
Returns:
{InitFragment
}
Attributes
webpack.InitFragment.deserialize(context): voidAttributes
context:
<ObjectDeserializerContext>context
Returns:
{void}
webpack.InitFragment.getContent(context): voidcontext{GenerateContext} context- Returns:
<string>|<Source>the source code that will be included as initialization code
webpack.InitFragment.getEndContent(context): voidcontext{GenerateContext} context- Returns:
<string>|<Source>the source code that will be included at the end of the module
webpack.InitFragment.serialize(context): voidAttributes
context:
<ObjectSerializerContext>context
Returns:
{void}
webpack.InitFragment.addToSource(source, initFragments, context): SourceAttributes
source:
<Source>sources
initFragments:
{MaybeMergeableInitFragment
[]} init fragments
context:
{Context} context
Returns:
<Source>source