new SideEffectsFlagPlugin(analyseSource?): SideEffectsFlagPluginAttributes
analyseSource:
<boolean>analyse source code for side effects
Returns:
<SideEffectsFlagPlugin>Creates an instance of SideEffectsFlagPlugin.
apply(compiler): voidAttributes
compiler:
<Compiler>the compiler instance
Returns:
<void>Applies the plugin by registering its hooks on the compiler.
Attributes
moduleName:
<string>the module name
flagValue:
<SideEffectsFlagValue>the flag value
Returns:
<boolean>
|
<undefined>true, when the module has side effects, undefined or false when not
Module has side effects.
Type:
<undefined>
|
<string>
|
<boolean>
|
<string>[]