UI5 / UI5/cli

Allow to serve dist folder, e.g. ui5 serve --dist

Open
#300 10 comments 8 reactions 1 assignee View on GitHub

@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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.