TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/kevinrodriguezmorales/siget/llms.txt
Use this file to discover all available pages before exploring further.
ng build command compiles the Siget application using the @angular/build:application builder and writes the output artifacts to the dist/ directory. By default it uses the production configuration, which enables full optimization — tree-shaking, minification, and file-name hashing — so the resulting bundle is ready to deploy immediately. A development configuration is also available for faster, unoptimized builds with source maps enabled.
Synopsis
Options
| Option | Type | Default | Description |
|---|---|---|---|
--configuration / -c | string | production | Named build configuration to use |
--watch | boolean | false | Rebuild automatically on source file changes |
--source-map | boolean | false | Emit source map files alongside the output bundles |
--output-path | string | dist/ | Directory where build artifacts are written |
--stats-json | boolean | false | Generate a stats.json file for bundle analysis |
Examples
Output Directory Structure
After a successful build the compiled application is placed underdist/siget/. The browser/ sub-directory contains all assets served to end users.
Output file-name hashing (
outputHashing: "all") is enabled in the production configuration by default, ensuring browsers always fetch the latest assets after a deployment rather than serving stale cached files. Hashing is not applied in the development configuration.Configuration in angular.json
Thebuild architect target in angular.json shows how the two configurations differ:
defaultConfiguration is production, so a bare ng build always produces an optimized, deployment-ready bundle. The development configuration disables optimization and enables source maps to support faster iteration. Budget thresholds in production warn when the initial bundle exceeds 500 kB and error above 1 MB, helping you keep the application lean.