You could use Single Script Linker instead of default Cross Site IFrame 
Linker by adding this into your module.gwt.xml:

<collapse-all-properties/>
<add-linker name="sso"/>

You have to collapse all properties because sso linker doesn't generate 
permutation selection script. After compilation you should get single js 
file which contains all the logic for different browsers / languages etc. 
Alternatively you could explicitly specify properties but it would mean you 
would get js file for single browser / language.

On Sunday, December 13, 2015 at 2:58:21 AM UTC+1, Michael Zhou wrote:
>
> I have used GWT to compile a Java application (Google's Closure Compiler 
> <https://github.com/google/closure-compiler>) into a GWT application 
> <http://closure-compiler-debugger.appspot.com/gwt_debugger.html>.
> Currently, GWT outputs a .cache.js file and a .nocache.js file. I wonder 
> if it's possible to output a single .js file instead of two?
> We might switch to J2CL when it's ready, but just in case it's possible to 
> do so with GWT 2.8.
>

-- 
You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

Reply via email to