Angular: use the aot compiler for ng build
Bug #1895395 reported by
Jane Sandberg
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Evergreen |
Confirmed
|
Medium
|
Unassigned |
Bug Description
Currently, `ng build --prod` uses the ahead-of-time (AOT) compiler, while `ng build` uses the just-in-time (JIT) compiler.
As of angular 9, the angular documentation recommends using the AOT compiler for both: https:/
This would provide a bit more consistency for developers (since some errors only display in AOT, others only display in JIT, and we want to make sure that the AOT in particular is error-free so that builds don't break).
Branch forthcoming.
Changed in evergreen: | |
assignee: | nobody → Galen Charlton (gmc) |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in evergreen: | |
milestone: | 3.6-beta → 3.6-beta2 |
assignee: | Galen Charlton (gmc) → nobody |
Changed in evergreen: | |
milestone: | 3.6-beta2 → 3.next |
tags: |
added: needsdiscussion removed: pullrequest |
Changed in evergreen: | |
milestone: | 3.next → none |
To post a comment you must log in.
Branch available for your review at user/sandbergja /lp1895395_ ng_build_ aot
Here's a link: https:/ /git.evergreen- ils.org/ ?p=working/ Evergreen. git;a=shortlog; h=refs/ heads/user/ sandbergja/ lp1895395_ ng_build_ aot