I have recently migrated my app to Angular 6, it was working fine in angular 5, I faced a lot of issues but anyhow I resolved them, but PWA I am not able to migrate, in angular 5 PWA was working fine, but in 6 Giving below error ...
when I am running
command ng add @angular/PWA its showing error
target is not defined for the specified project
Please help how to migrate or add PWA in Angular 6
( 8 months ago )
This was already answered in the comment, but since this was the correct solution here's again what to do: