Angular Compiler Options to enable AOT compilation

The solution for “Angular Compiler Options to enable AOT compilation” can be found here. The following code will assist you in solving the problem.

content_copy
{
“compileOnSave”: false,
“compilerOptions”: {
“baseUrl”: “./”,
// …
},
“angularCompilerOptions”: {
“enableI18nLegacyMessageIdFormat”: false,
“strictInjectionParameters”: true,
// …
}
}

Thank you for using DeclareCode; We hope you were able to resolve the issue.

More questions on [categories-list]

0
inline scripts encapsulated in