Skip to content

Check minified code for syntax errors (e.g. by trying to construct an AST) #3075

@mgol

Description

@mgol

* Description*

Enabling strict mode uncovered an UglifyJS issue (mishoo/UglifyJS#1052) where it was creating code with SyntaxErrors. Perhaps we should try to generate the AST of the generated minified code to check if it doesn't contain syntax errors.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions