Skip to content

_dec is not defined #1580

@JeroenVinke

Description

@JeroenVinke

Hi, we use Uglify in the aurelia-cli and are running into some issues with the latest versions of uglify-js. here is the bug report in the CLI repository.

Everything worked OK until 2.8.6 (so 2.8.5 still works fine). But starting from 2.8.6 we're getting a ReferenceError: _dec is not defined error.

I believe I managed to reproduce the issue with a smaller input file which I pushed to this repository. I ran node index.js both using 2.8.5 and 2.8.9 and the result in the output.js file is different. See the readme in the [repository](this repository) in order to compare the two.

Let me know if you need more information. Thanks!

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