stephenmathieson / node-obfuscator

maintainer wanted → Obfuscate your node packages because your boss says so!
216 stars 36 forks source link

Error after compilation #22

Closed sanjaykhadka closed 9 years ago

sanjaykhadka commented 9 years ago

Thank you for this great script. It does the job very nice, changed my variable contents to hex code and I kinda like it, only to give error when I tried to run my script.

After the successful compilation, when I use my compiled script on the browser, it give me lots of unexpected errors like ". (" etc. Isn't there any way to get rid of those errors. It is useless if I get unexpected errors in my script with the compiled script. So for now I've switched back to uglify plugin of grunt.

Any suggestions???

N.B. I was using my client side script to obfuscate, and its a huge chunk of file, more than 300kb without minification.

stephenmathieson commented 9 years ago

I haven't run browser code through obfuscator, but it should work.

Syntax errors aren't good. Can you show me the compiled script?

stephenmathieson commented 9 years ago

closing as inactive.. feel free to reopen if you'd like to try to work this out