Update changeset message for the cli package.

Signed-off-by: Aramis Sennyey <sennyeya@amazon.com>
This commit is contained in:
Aramis Sennyey
2022-11-22 15:31:18 -05:00
parent 44200e6be7
commit 3426aec201
+1 -7
View File
@@ -2,10 +2,4 @@
'@backstage/cli': patch
---
Adds support for two new CLI options on the `repo build` and `package build` commands. Both options are only available to frontend components. Backend config continues to be supplied at runtime.
CLI options take precedent over provided config.
The new options are meant to add greater support for running the same bundle in multiple environments, ex: test, stage and prod.
`--publicPath`: Frontend route to host the app on, can be relative or absolute.
`--backendUrl`: Backend URL that the {backend.basePath}, e.g. /api, endpoint can be reached on. Can be relative or absolute.
Allow relative URLs to be passed as config values for `app.baseUrl` and `backend.baseUrl`, ie `app.baseUrl` can be `/`. Relative URLs are only supported for frontend builds, the backend still needs the full URL defined before run time.