ServiceWorker generator

ng generate serviceWorker [--[option]=[value]]

Pass this schematic to the "run" command to create a service worker.

Options

--configuration#

The configuration to apply service worker to.

Type string
Default production

--project#

The name of the project.

Type string

--target#

The target to apply service worker to.

Type string
Default build