@angular/pwapackage will automatically add a service worker and a app manifest to the app. To add this package to the app run:
ionic build --prodand the
wwwdirectory will be ready to deploy as a PWA.
@angular/pwahas been added, a new
ngsw-config.jsonfile will be created at the root of the project. This file is responsible for configuring how Angular's service worker mechanism will handle caching assets.