title: JIT compiler unavailable after angular update
body: <p>I have updated an angular application from angular <code>10</code> to angular <code>12</code>. After updating development mode works fine. But in production build I am getting <code>&quot;JIT compiler unavailable&quot;</code> error. I have imported <code>'@angular/compiler'</code>; in the <code>main.ts</code> file also. I couldn't find any possible reason for this issue.</p>