Skip to content

Serving an app

npx @telia-ace/alliance-cli serve [options]

Serves the app from the current directory.

Arguments

FlagAliasDefaultDescription
--help-hN/ADisplay command information.
--config-c./alliance.config.{ts|js|mjs|cjs|mts|cts|json}The path to the configuration file.
--entries.appEntryOptions.appEntryOptions.app
--entries.manifestEntryOptions.manifestEntryOptions.manifest
--mode-mBuildOptions.modeBuildOptions.mode
--ports.serverPortOptions.serverPortOptions.server
--ports.gatewayPortOptions.gatewayPortOptions.gateway
--open-oServerOptions.openServerOptions.open
--logging-lServerOptions.loggingServerOptions.logging

Example

sh
npx @telia-ace/alliance-cli serve --open --logging