Charles Lyding b3d7080147 build: enable esModuleInterop TypeScript option
The `esModuleInterop` option is recommended to be enable by TypeScript and corrects several assumptions TypeScript would otherwise make when importing CommonJS files.
This option change helps ensure compatibility as packages move towards ESM.
Reference: https://www.typescriptlang.org/tsconfig#esModuleInterop
2021-06-13 11:45:55 -04:00
..
2021-04-14 11:11:10 -04:00

@angular/pwa

This is a schematic for adding Progress Web App support to an Angular app. Run the schematic with the Angular CLI:

ng add @angular/pwa

This makes a few changes to your project:

  1. Adds @angular/service-worker as a dependency.
  2. Enables service worker builds in the Angular CLI.
  3. Imports and registers the service worker in the app module.
  4. Adds a web app manifest.
  5. Updates the index.html file to link to the manifest and set theme colors.
  6. Adds required icons for the manifest.
  7. Creates a config file ngsw-config.json, specifying caching behaviors and other settings.

See Getting started with service workers for more information.