azion_build - aziontech/azion GitHub Wiki
azion build
Builds an Application locally
Synopsis
Builds an Application locally
azion build [flags]
Examples
$ azion build
Options
--config-dir string Relative path to where your custom azion.json and args.json files are stored (default "azion")
--entry string Code entrypoint; (default: ./main.js)
-h, --help Displays more information about the build command
--preset string The Application's preset; Inform this flag if you wish to change the project's preset during build
--skip-framework-build Indicates whether to bypass the framework build phase before executing 'azion build'.
--use-node-polyfills string Use node polyfills in build
--use-own-worker string Indicates that the constructed code inserts its own worker expression, such as addEventListener("fetch") or similar, without the need to inject a provider
Options inherited from parent commands
-c, --config string Sets the Azion configuration folder for the current command only, without changing persistent settings.
-d, --debug Displays log at a debug level
--format string Changes the output format passing the json value to the flag
-l, --log-level string Set the logging level, "debug", "info", or "error". (default "info")
--no-color Changes the output format passing the json value to the flag
--out string Exports the output to the given <file_path/file_name.ext>
-s, --silent Silences log completely; mostly used for automation purposes
--timeout int Defines how much time in seconds the CLI will wait before timing out from the HTTP connection (default 50)
-t, --token string Saves a given Personal Token locally to authorize CLI commands
-y, --yes Answers all yes/no interactions automatically with yes
SEE ALSO
- azion - The Azion Command Line Interface is a unified tool to manage your Azion projects and resources%!(EXTRA string=development)