Commit fefd3da
committed
claude: document the JIT vs AOT template-expression trap
Jest runs templates in JIT and tolerates broken binding expressions
that the AOT production build rejects (NG5002 / parse errors). I
shipped a backslash-escaped apostrophe in a [title] binding which
passed jest cleanly and broke stage_prod/Build Frontend.
New section in frontend/.claude/CLAUDE.md: 'Pre-push check: AOT-
compile Angular templates' showing the apostrophe gotcha and the
local command to catch it before push.1 parent e1f2ecf commit fefd3da
1 file changed
Lines changed: 29 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
72 | 101 | | |
73 | 102 | | |
74 | 103 | | |
| |||
0 commit comments