Skip to content

"Reuse" library support? #24

@nils

Description

@nils

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:

  1. cds-ui5-plugin should serve also libraries (as far as I understood, it does not do that at the moment).
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions