0

I'm trying to use AOT compilation using ng build --prod. I don't know what I'm doing wrong.

Project Url- https://github.com/nishant1596/sampleAOT

Please Help, Thanks in advance

Nishant soni
  • 41
  • 3
  • 9

1 Answers1

0

I was using this form of lazyLoading -

loadChildren : ()=> import ('./home/home.module').then(m=>m.HomeModule)

instead of

loadChildren : './home/home.module#HomeModule'

Nishant soni
  • 41
  • 3
  • 9