简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM