I am trying to use the flag;
-style PRETTY
as discussed here:
http://www.gwtproject.org/doc/latest/FAQ_DebuggingAndCompiling.html
however its not obvious to me where I place that setting. I'm looking to send the 'PRETTY' code up to a parallel version on my live server.
I deploy directly from my IDE (Eclipse)
does it live in my .gwt.xml file?
thanks for any tips.
If you use maven you can place it in your .pom file to not obfuscate the transpiled JS:
<properties>
<gwt.compiler.style>PRETTY</gwt.compiler.style>
</properties>
For not obfuscating the CSS, use:
<set-configuration-property name="CssResource.style" value="PRETTY"/>
in your *.gwt.xml
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With