Angular 8 AOT
See original GitHub issueWorks as expected in dev builds.
As soon as AOT is enabled, errors come up.
Module not found: Error: Can't resolve '@casl/ability/dist/types/Ability'
Is CASL not compatible with Angular 8?
Issue Analytics
- State:
- Created 3 years ago
- Comments:10
Top Results From Across the Web
Ahead-of-time (AOT) compilation - Angular
The Angular ahead-of-time (AOT) compiler converts your Angular HTML and TypeScript code into efficient JavaScript code during the build phase before the browser ......
Read more >What is AOT and JIT Compiler in Angular ? - GeeksforGeeks
AOT provides better security. It compiles HTML components and templates into JavaScript files long before they are served into the client ...
Read more >Angular 8 - Ivy Compiler - Tutorialspoint
Angular 8 - Ivy Compiler, Ivy Compiler is the latest compiler for Angular ... In AOT compilation, the compiler will emit optimised code...
Read more >A Brief Intro to Ahead-of-Time (AOT) Compilation in Angular
Starting with Angular version 9, the default compilation of choice is AOT. This means that whenever you build your Angular application for production...
Read more >Are --prod and --aot options required in Ivy in Angular 9?
3 Answers 3 · Just-in-Time (JIT), which compiles your app in the browser at runtime. This was the default until Angular 8. ·...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, it works now. Thank you
angular example app works fine, so close this.
Thanks for the issue!