Please check if your PR fulfills the following requirements:
[x] Tests for the changes have been added (for bug fixes / features)
PR Type
What kind of change does this PR introduce?
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Other... Please describe:
What is the current behavior?
Angular v17 onwards "browser": "src/main.ts" is getting added to the build options of angular.json which causes the following error during build/serve:
Error: Schema validation failed with the following errors:
Data path "" must NOT have additional properties(browser).
Issue Number: #507
What is the new behavior?
The PR removes the browser key from the build options if it exists. The angular v17 application should now build without error.
PR Checklist
Please check if your PR fulfills the following requirements:
PR Type
What kind of change does this PR introduce?
What is the current behavior?
Angular v17 onwards
"browser": "src/main.ts"
is getting added to the build options ofangular.json
which causes the following error during build/serve:Issue Number: #507
What is the new behavior?
The PR removes the browser key from the build options if it exists. The angular v17 application should now build without error.
Does this PR introduce a breaking change?
Other information