feat(@schematics/angular): allow application migration to use new build package in projects where possible #27520
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
When using the optional application build system migration, the newly
introduced
@angular/build
package which contains only the new buildsystem and no Webpack-related dependencies will be directly used when
possible. The migration will check for usage of any other builders from
the
@angular-devkit/build-angular
package. if none are present in theangular.json
file (excludingdev-server
andextract-i18n
), the@angular/build
package will be added as a dependency and used in theangular.json
file. The@angular-devkit/build-angular
package willthen be removed as a dependency. Project usage of karma and/or protractor
will be the most common reasons this part of the migration will not be
performed.
Also includes a fix to the migration to no longer remove the now support deployUrl option.