Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GWT: Prevent Javascript minification

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?

like image 927
tharindu_DG Avatar asked Oct 19 '25 01:10

tharindu_DG


1 Answers

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

like image 185
Spiff Avatar answered Oct 21 '25 16:10

Spiff