Skip to content

[error] WARN: Collapsing variable] #32

@Fenwick17

Description

@Fenwick17

I have some JavaScript that I am minifying with sbt-uglify. However it is throwing a few warnings regard ing [error] WARN: Collapsing variable. When I look at the JS it is perfectly valid and theres no issues, for example.

var tokens = text.match(/\S+/g) || [];
length = tokens.length;

Is there a way I can tell sbt-uglify to not provide those warnings?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions