Skip to content

Reduce jar size #471

Open
Open
@StefanPenndorf

Description

@StefanPenndorf

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?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions