You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try to load the HTML Compiler component on my production build, I get the following error in console.log
Error: Angular JIT compilation failed: '@angular/compiler' not loaded!
- JIT compilation is discouraged for production use-cases! Consider AOT mode instead.
- Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?
- Alternatively provide the compiler with 'import "@angular/compiler";' before bootstrapping.
Do you know of a workaround for using this component with AOT and the build optimizer? I tried importing @angular.compiler at the top of main.ts and that didn't fix the issue.
Thanks!
The text was updated successfully, but these errors were encountered:
When I try to load the HTML Compiler component on my production build, I get the following error in console.log
Do you know of a workaround for using this component with AOT and the build optimizer? I tried importing @angular.compiler at the top of main.ts and that didn't fix the issue.
Thanks!
The text was updated successfully, but these errors were encountered: