Serving an app
npx @telia-ace/alliance-cli serve [options]
Serves the app from the current directory.
Arguments
Flag | Alias | Default | Description |
---|---|---|---|
--help | -h | N/A | Display command information. |
--config | -c | ./alliance.config.{ts|js|mjs|cjs|mts|cts|json} | The path to the configuration file. |
--entries.app | EntryOptions.app | EntryOptions.app | |
--entries.manifest | EntryOptions.manifest | EntryOptions.manifest | |
--mode | -m | BuildOptions.mode | BuildOptions.mode |
--ports.server | PortOptions.server | PortOptions.server | |
--ports.gateway | PortOptions.gateway | PortOptions.gateway | |
--open | -o | ServerOptions.open | ServerOptions.open |
--logging | -l | ServerOptions.logging | ServerOptions.logging |
Example
sh
npx @telia-ace/alliance-cli serve --open --logging