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!
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"(usingseed: 0anddeadCodeInjection: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:trueand removingdeadCodeInjectioneverything seems to work, while(disableConsoleOutput:false or deadCodeInjection:true) + mangledbreaks 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!