Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(@angular/build): support a default outputPath option for applications #29898

Merged
merged 1 commit into from
Mar 20, 2025

Conversation

clydin
Copy link
Member

@clydin clydin commented Mar 19, 2025

The application builder will now use a default output path when the outputPath option is not specified either in the angular.json configuration or via the command line. The default used will be dist/<project_name> and be relative to the workspace root. This value is the typical default for new projects. Projects may continue to customize the output path via the option if needed. Existing project behavior and configuration will not be changed.

@clydin clydin added the target: major This PR is targeted for the next major release label Mar 19, 2025
@angular-robot angular-robot bot added detected: feature PR contains a feature commit area: @angular/build labels Mar 19, 2025
@clydin clydin force-pushed the application/default-output-path branch from d256045 to 7062e2e Compare March 19, 2025 23:47
@clydin clydin marked this pull request as ready for review March 20, 2025 12:14
@clydin clydin requested a review from alan-agius4 March 20, 2025 12:37
@clydin clydin added the action: review The PR is still awaiting reviews from at least one requested reviewer label Mar 20, 2025
…tions

The application builder will now use a default output path when the `outputPath`
option is not specified either in the `angular.json` configuration or via
the command line.  The default used will be `dist/<project_name>` and be
relative to the workspace root. This value is the typical default for new projects.
Projects may continue to customize the output path via the option if needed.
Existing project behavior and configuration will not be changed.
@clydin clydin force-pushed the application/default-output-path branch from 7062e2e to 90c2e00 Compare March 20, 2025 13:12
@clydin clydin requested a review from alan-agius4 March 20, 2025 13:12
@alan-agius4 alan-agius4 added action: merge The PR is ready for merge by the caretaker and removed action: review The PR is still awaiting reviews from at least one requested reviewer labels Mar 20, 2025
@clydin clydin merged commit 9b682e6 into angular:main Mar 20, 2025
31 checks passed
@clydin clydin deleted the application/default-output-path branch March 20, 2025 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
action: merge The PR is ready for merge by the caretaker area: @angular/build detected: feature PR contains a feature commit target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants