You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #802 we would like to externalize one of the css bundles, which is used in several Fiori applications. Currently css bundle has size of 200 KB, and used only in couple of applications, so bundling it together with several apps works. But in total we have more than 30 applications and what if we'll need to add it everywhere? Taking in account that maximum space available in html5-repo is 100 MB it could be depleted quite fast.
Any possibilities to do something like sap.ui.loader.config but for CSS files?
The text was updated successfully, but these errors were encountered:
Thanks for creating this enhancement request. The requirement you describe can be already achieved by creating an own theme library. I know its not exactly what you are asking for but for the time being this might solve your requirement.
Got it. What you could do then, is configuring a loader path mapping depending on the location.hostname and use sap.ui.require.toUrl to get the resolved url for that module ID.
The same concept can be used for any other asset that needs to be loaded from a specific path.
EDIT: You can also map the whole namespace ace/comsapaceservicemonaco, so that every module within will use the mapped path. Details on how this works exactly can be found in the sap.ui.loader.config API Reference.
Similar to #802 we would like to externalize one of the css bundles, which is used in several Fiori applications. Currently css bundle has size of 200 KB, and used only in couple of applications, so bundling it together with several apps works. But in total we have more than 30 applications and what if we'll need to add it everywhere? Taking in account that maximum space available in html5-repo is 100 MB it could be depleted quite fast.
Any possibilities to do something like
sap.ui.loader.config
but for CSS files?The text was updated successfully, but these errors were encountered: