Need a flag that can generate the module and add it's path to the angular.json's lazyModules array
x)
- [ ] new
- [ ] build
- [ ] serve
- [ ] test
- [ ] e2e
- [x] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc
A clear and concise description of the problem or missing capability...
Currently I have to generate a module, and manually add the whole path to lazyModules array in the angular.json
ng generate module widget --lazy-module
Have you considered any alternative solutions or workarounds?
Thanks for requesting this. This is something that we @mgechev is currently working on.
Any updates on this @alan-agius4 @mgechev?
This feature has been added in Angular CLI version 8.1
More info can be found here: http://angular.io/guide/lazy-loading-ngmodules
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
Thanks for requesting this. This is something that we @mgechev is currently working on.