I am writing a Google Chrome extension with the help of Google closure compiler.
I make heavy use of the message API to communicate between code that runs on different processes. Thats why my files need to be compiled separately. If I use advanced optimizations I also have to access properties with quoted strings in data I send with this message API. That works without a problem but it makes my code look ugly. But I like the dead code removal that comes with advanced optimizations.
I would like to be able to do dead code removal without the renaming that comes with advanced optimizations. Is this possible with the closure compiler?
It is not possible out of the box, You can however download the source and make the customization yourself in Java.