Skip to content

mangled obfuscation breaks project while hexadecimal one works just fine #262

Description

@arthabus

I'm using quite a few 3rd party libs in my projects, pack them in one file and obfuscate the whole file.

Everything works just fine with hexadecimal generator but if I switch to mangled the projects starts to throw errors at random places like "can't execute 'sdf' of undefined" or "kjh is not a function" (using seed: 0 and deadCodeInjection:true)

Just to give you some glue, those errors might be connected with using jquery in the same file but again, hexadecimal obfuscation works just fine.
It also makes difference if I switch on or off disableConsoleOutput option: with disableConsoleOutput:true and removing deadCodeInjection everything seems to work, while (disableConsoleOutput:false or deadCodeInjection:true) + mangled breaks the project.

I can't paste any code unfortunately but I'll leave the description here to bring your attention - maybe it will help to improve the great library even further!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions