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
Is your feature request related to a problem? Please describe.
I want to use the ui5 cli to serve multiple UI5 apps at once, ideally in a fiori launchpad, with live reload. With type: module, I can mount my apps like this:
However, this fails the schema validation. However, I can start a server if I don't try to configure it, which makes me feel that either ui5 serve should fail for modules, or I should be able to configure it.
I went ahead and just added the definition in the schema definition in node modules. With this, validation passed and the server came up with the middleware running (and working fine)
Describe the solution you'd like
Please add the server options for type: module.
Describe alternatives you've considered
I've tried to switch to type application, but then I wasn't allowed the path configuration I needed.
Maybe this is beyond the current scope and requires a new module type in the long run, but as a shorter-term solution allowing the middleware would already be great.
Thank you for considering this requeset!
Kind regards
Lukas
The text was updated successfully, but these errors were encountered:
If my understanding is right, this seems to be a workaround for #45
I think the main question is indeed whether we want to allow starting a ui5 server for a module only.
Since ui5-server currently does not require any special information from the root project, and since it's perfectly capable of serving a module project as a dependency, it might be reasonable to simply allow this and enhance the schema to allow server configuration for type module. We'll discuss this in the team and get back to you.
Is your feature request related to a problem? Please describe.
I want to use the ui5 cli to serve multiple UI5 apps at once, ideally in a fiori launchpad, with live reload. With
type: module
, I can mount my apps like this:I try to configure the community live reload extension like this:
However, this fails the schema validation. However, I can start a server if I don't try to configure it, which makes me feel that either
ui5 serve
should fail formodule
s, or I should be able to configure it.I went ahead and just added the definition in the schema definition in node modules. With this, validation passed and the server came up with the middleware running (and working fine)
Describe the solution you'd like
Please add the
server
options fortype: module
.Describe alternatives you've considered
I've tried to switch to type
application
, but then I wasn't allowed the path configuration I needed.Maybe this is beyond the current scope and requires a new module type in the long run, but as a shorter-term solution allowing the middleware would already be great.
Thank you for considering this requeset!
Kind regards
Lukas
The text was updated successfully, but these errors were encountered: