Allow to serve dist folder, e.g. ui5 serve --dist
Open
@flovogt is already working on this.
Since Aug 17, 2026.
module/ui5-cli
- Dominant language
- JavaScript
- Stars
- 511
- Forks
- 83
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 55
Description
Expected Behavior
I would like to be able to serve the dist resources via the ui5 serve command, e.g. via a dedicated command line options like --dist.
Current Behavior
As of today, the best workaround is to create a separate ui5.yaml file (e.g. ui5-dist.yaml) which shifts the project resources configuration for webapp to the dist folder:
specVersion: ‘1.0’
metadata:
name: openui5-sample-app
type: application
resources:
configuration:
paths:
webapp: dist
Now the project can be served from the dist folder via ui5 serve --config ui5-dist.yaml.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.