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

fix(@angular/build): consistently set "default" baseHref #28452

Closed
wants to merge 1 commit into from

Conversation

alan-agius4
Copy link
Collaborator

Previously, the default value for baseHref (set to /) was defined in multiple places, leading to inconsistency. A recent commit inadvertently removed one of these defaults see: https://github.com/angular/angular-cli/pull/28283/files#diff-803b0bd9e1fd57eefba877e946b85b13517170ad5fadb906a11308bc4b3b9fdaL148

This change consolidates the default logic by removing redundant definitions and moving the default baseHref configuration to schema.json for consistency.

Closes #28442

@alan-agius4 alan-agius4 added the target: major This PR is targeted for the next major release label Sep 19, 2024
Previously, the default value for baseHref (set to `/`) was defined in multiple places, leading to inconsistency. A recent commit inadvertently removed one of these defaults see: https://github.com/angular/angular-cli/pull/28283/files#diff-803b0bd9e1fd57eefba877e946b85b13517170ad5fadb906a11308bc4b3b9fdaL148

This change consolidates the default logic by removing redundant definitions and moving the default baseHref configuration to schema.json for consistency.

Closes angular#28442
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: @angular/build target: major This PR is targeted for the next major release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Vite pre-transform error on ng serve depending on the first route loaded in 19.0.0.next-2
1 participant