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
I have a "reuse library" in my project, and I'm using cds-launchpad-plugin in combination with cds-ui5-plugin.
Now when I want to to use a resource MyResource from my.namespace.library from one of my applications (my.namespace.app1), it won't be able to load that resource (because it's trying to load from https://ui5.sap.com/resources/my/namespace/library/MyResource.js which is the last resort).
I think two things would need to be changed to enable that use case:
cds-ui5-plugin should serve also libraries (as far as I understood, it does not do that at the moment).
cds-launchpad-plugin needs to add resourceroots to the UI5 bootstrap element in the sandbox launchpad.
But before I open an issue over at cds-ui5-plugin and try to create corresponding pull requests on both components, I first wanted to check with you (and other potential readers) if there's another solution I might have missed.
The text was updated successfully, but these errors were encountered:
Hi @geert-janklaps,
I have a "reuse library" in my project, and I'm using cds-launchpad-plugin in combination with cds-ui5-plugin.
Now when I want to to use a resource MyResource from my.namespace.library from one of my applications (my.namespace.app1), it won't be able to load that resource (because it's trying to load from
https://ui5.sap.com/resources/my/namespace/library/MyResource.js which is the last resort).
I think two things would need to be changed to enable that use case:
But before I open an issue over at cds-ui5-plugin and try to create corresponding pull requests on both components, I first wanted to check with you (and other potential readers) if there's another solution I might have missed.
The text was updated successfully, but these errors were encountered: