1

I am using OpenUI5 in my hybrid (Cordova WebView) approach. When downloading the latest OpenUI5 version I end up with a huge bunch of files and I have no clue which ones are really necessary for my purpose. It seems as if there are no precompiled files that contain everything needed for a mobile/hybrid/whatever approach.

How have you guys solved this?

Thanks and happy new year!!!

Boghyon Hoffmann
  • 17,103
  • 12
  • 72
  • 170
AntonSack
  • 1,021
  • 2
  • 25
  • 47

2 Answers2

5

Have you noticed the "UI5 Runtime Mobile" package at http://openui5.org/download.html#versionList ? This is the one that is meant for such a hybrid app approach.

Such a bundle can never be 100% optimized - you might need or not need certain control libraries or themes, for example, so the following page has some more details about this package, including instructions to reduce its size: https://openui5.hana.ondemand.com/#docs/guide/293eb945f0e945aaa776812481b4c533.html

akudev
  • 784
  • 4
  • 9
  • Yes, I did but the zip still contains such a huge amount of files, especially for debugging... But I will check out the reduction suggestions that you mentioned. Thanks – AntonSack Dec 30 '14 at 12:36
2

One easy way to reduce the size is by removeing all the debug files as mentioned in the link . This can be easily done by searchig for *-dbg.js in Windows search and delete all.

All the debug files will be removed in one go.

May13ank
  • 548
  • 2
  • 9
  • 24