On this page

new SideEffectsFlagPlugin(analyseSource?): SideEffectsFlagPlugin
Attributes
analyseSource:<boolean>
analyse source code for side effects
apply(compiler): void
Attributes
compiler:<Compiler>
the compiler instance
Returns:
{void}

Apply the plugin


Attributes
moduleName:<string>
the module name
flagValue:
{SideEffectsFlagValue} the flag value
cache:
{Map<string, RegExp>} cache for glob to regexp
true, when the module has side effects, undefined or false when not