Currently the size of the app-layout-addon-4.0.0-RC5.jar is about 5.4 MB and the version 4.0.0 (final) jar is 2.5 MB . This is both quite huge in my opinion and the difference is also quite huge.
I suspect there are build artifacts packaged into the final jar that are not necessary for the addon.
The 4.0.0 jar file contains a file /META-INF/VAADIN/config/stats.json which is 1.9 MB (uncompressed) . The RC5 version of this file is 26.7 MB (uncompressed). From looking at the contents of the file I suspect this one is not necessary in the final jar file.
There is also the /META-INF/VAADIN/build/ folder that contains 6 MB (uncompressed) of javascript files and there gzipped versions. I didn't write a Vaadin 14+ addon myself thus I cannot tell whether those files are necessary or not. Could you check what is really necessary there?
Currently the size of the
app-layout-addon-4.0.0-RC5.jaris about 5.4 MB and the version 4.0.0 (final) jar is 2.5 MB . This is both quite huge in my opinion and the difference is also quite huge.I suspect there are build artifacts packaged into the final jar that are not necessary for the addon.
The 4.0.0 jar file contains a file
/META-INF/VAADIN/config/stats.jsonwhich is 1.9 MB (uncompressed) . The RC5 version of this file is 26.7 MB (uncompressed). From looking at the contents of the file I suspect this one is not necessary in the final jar file.There is also the
/META-INF/VAADIN/build/folder that contains 6 MB (uncompressed) of javascript files and there gzipped versions. I didn't write a Vaadin 14+ addon myself thus I cannot tell whether those files are necessary or not. Could you check what is really necessary there?