Hi Sander, Thanks for the quick response. I think it is very valuable for short term as these are the issues we are currently facing with AOT solution...
- AOT does not work with file changes during development properly and the build time is very long for each file change. - we have 70+ locales integrated with Angular 4 app and AOT pre-builts the app for each locales and it takes in excess of 20 minutes which is very slow for both development and release process. My plans for short term - Use JIT for development purposes. AOT for production builds refactor codebase to allow dynamic loading of locales.. Let me know if this is not the right path? Thanks, Akhil On Monday, 29 May 2017 22:26:13 UTC+10, Sander Elias wrote: > > Hi Akhil, > > While I know for sure this can be made to work, don't do it. > The JIT is going to disappear in the future. So basing your solution on > the JIT is a short term solution. > You don't need the JIT to be able to lazy-load modules. And soon we will > have a way to create the stuff that needs even more dynamic things. > > Regards > Sander > -- You received this message because you are subscribed to the Google Groups "Angular and AngularJS discussion" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
