GWT: Prevent Javascript minification

1.1k views Asked by At

In GWT, the javascript that is generated from the GWT compiler is super optimized an unreadable. It would be quite helpful it there is a way to avoid this and obtain human readable javascript code.

Is there a config or any other way to prevent GWT from minifying the generated JavaScript for debugging purposes?

1

There are 1 answers

2
Spiff On

When you compile the GWT project there is an option "Output Style" with the options Obfuscated,Pretty,Detailed. Choosing pretty would do the trick.