[Suggestion] DragomeConfigurator Class Inclusion/Exclusion Control (Reflection)
Closed this issue · 3 comments
Deleted user commented
Instead of including all classes for reflection support, a filtering mechanism to what to include or exclude could be also added to the DragomeConfigurator. This would give more control to the size of the produced code.
fpetrola commented
There is a basic mechanism for doing this: https://groups.google.com/d/msg/dragome/Mo26MSha7Rk/JSp3_1LgEQAJ
In a near future we want to make use of tools like Proguard to do an automatic implementation of dependencies selection.
fpetrola commented
Remove unused code feature is now implemented, take a look at wiki doc: https://github.com/dragome/dragome-sdk/wiki/Making-a-tiny-version-of-generated-js-file:-removing-unused-code
Generated js file is less than 300k for tests that include even gdx library as dependency.