Skip to content

Specifying unsafe causes hang/freeze #1650

@neoncube2

Description

@neoncube2

I have a project where as soon as I specify unsafe: true, the compilation hangs forever.

My config:

terserOptions: {,
  compress: {
    unsafe: true
  }
}

I figured this might be related to doing multiple passes, so I tried adding passes: 1, but the hang still occurs.

Any suggestions of other things I could try before I go digging in the terser code? :)

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