It is well known that GWT
compiles the Java
source to an optimized Javascript
. It will for example eliminate all unused functions. This is useful if you use a third party library such as gwtQuery
.
I wonder if there is a way to let GWT
also optimize the Javascript
you embed in the HTML page with the <script>
tag. For example instead of letting the user download the full JQuery
Javascript
library, only download the few functions that are used.