tractorbeam build
Build a Project and its Apps.
Build a Project and the App Bundle of each App built by a Vite configuration under its directory, so applying the build deploys them in one Commit.
tractorbeam build [flags]
| Flag | Description |
|---|---|
--config <string> |
The Project’s tractorbeam.config.ts. Defaults to the one in the current directory or its nearest ancestor. |
--workspace <string> |
Workspace identifier or resource name. Environment variable: TRACTORBEAM_WORKSPACE. |
--origin <string> |
The Tractorbeam origin to call instead of the default, such as a proxy’s. Environment variable: TRACTORBEAM_ORIGIN. |
--app <string> |
Comma-separated names of the Apps whose App Bundles to build. Defaults to every App a Vite configuration under the Project’s directory builds. |
Examples:
# Build the Project and every App's Bundle
tractorbeam build
# Build only the console and admin Apps' Bundles
tractorbeam build --app console,admin