SAPUI5 / OpenUI5: Packaging

我们两清 提交于 2019-12-05 06:40:50

问题


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!!!


回答1:


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




回答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.



来源:https://stackoverflow.com/questions/27702834/sapui5-openui5-packaging

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!