build: create --config=ivy flag to set the angular_ivy_enabled define flag value (#33983)
Beginning of migration away from --define=compile=* to --define=angular_ivy_enabled=*. Additionally, to make it clearer to developers, we will encourage use of --config=ivy instead of directy setting the --define flag, this abstraction will allow us more flexibility as we move foward with relation to our compile decisions at build time. PR Close #33983
This commit is contained in:

committed by
Matias Niemelä

parent
5cc362fbbf
commit
d2784c7894
@ -30,6 +30,7 @@ test --test_output=errors
|
||||
# Use the Angular Ivy compiler
|
||||
# See https://github.com/angular/angular/blob/master/docs/BAZEL.md#various-flags-used-for-tests
|
||||
build --define=compile=aot
|
||||
build --define=angular_ivy_enabled=True
|
||||
|
||||
# Temporary define while angular depends on the legacy rollup_bundle rule.
|
||||
# TODO: remove this setting after https://github.com/angular/angular/pull/33201 lands.
|
||||
|
Reference in New Issue
Block a user