Skip to content

IIFE should never be negated when it is the program completion value #628

@mpcref

Description

@mpcref

See issues #625 and #627.
Two workarounds are possible to prevent the issue:
One way is to use the option negate_iife:false, the other is to prepend the IIFE with 0; combined with the option side_effects:false.
Neither of which is ideal for the overall compression.
In order to fix this bug, an IIFE should never be negated when it is the program completion value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions