Repository navigation
feat(compiler-cli): make enableIvy ngtsc/true equivalent - #28616
filipesilva wants to merge 1 commit into
Conversation
|
You can preview 2273de1 at https://pr28616-2273de1.ngbuilds.io/. |
|
Related: #27306 |
Switch
Nah, nothing depends on the old behavior afaik.
Nope, we'll remove it soon. |
|
You can preview e646af3 at https://pr28616-e646af3.ngbuilds.io/. |
|
You can preview c66eeb3 at https://pr28616-c66eeb3.ngbuilds.io/. |
|
You can preview e266ce3 at https://pr28616-e266ce3.ngbuilds.io/. |
There was a problem hiding this comment.
I'd rather go the other way. ngtsc should be an alias for true.
|
You can preview 51fa0cc at https://pr28616-51fa0cc.ngbuilds.io/. |
|
You can preview 9b0e0f4 at https://pr28616-9b0e0f4.ngbuilds.io/. |
|
You can preview ff92ef7 at https://pr28616-ff92ef7.ngbuilds.io/. |
Currently setting `enableIvy` to true runs a hybrid mode of `ngc` and `ngtsc`. This is counterintuitive given the name of the flag itself. This PR makes the `true` value equivalent to the previous `ngtsc`, and `ngtsc` becomes an alias for `true`. Effectively this removes the hybrid mode as well since there's no other way to enable it.
|
You can preview 86158af at https://pr28616-86158af.ngbuilds.io/. |
|
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
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?
Currently setting
enableIvyto true runs a hybrid mode ofngcandngtsc. This is counterintuitive given the name of the flag itself.What is the new behavior?
This PR makes the
truevalue equivalent to the previousngtsc, andngtscbecomes an alias fortrue. Effectively this removes the hybrid mode as well since there's no other way to enable it.Does this PR introduce a breaking change?
Other information
I'm not sure if the
trueoption is currently used anywhere.@alxhub can you advise on:
enableIvyto keep the existing hybrid behaviour (the currenttruevalue)