Hide pc namespace for production


#1

hi folks,
Anybody know how to hide pc namespace for console.I dont want to user access pc.app or something like this in console.Should i use bundler or modules for production?

Edit : i use i frame for this currently


#2

Is there are reason for hiding the namespace?

You could obfuscate the JS code using something like https://obfuscator.io/ which will trigger breakpoints when the developer console is open.


#3

Thanks yaustar
it’s not necessery but i wanted to learn.Obfuscators sometimes trigger unpredictable problems but i ll try