{ "compilerOptions": { "module": "esnext", // ... }, "angularCompilerOptions": { "enableIvy": true, "allowEmptyCodegenFiles": true } }
npm i -g @angular/cli@latestng update
{ "projects": { "your-project": { "architect": { "build": { "options": { ... "aot": true, } } } } } }