Skip to content

Add a function to provide ServiceWorker support without referencing NgModules #47793

@AndrewKushnir

Description

@AndrewKushnir

Which @angular/* package(s) are relevant/related to the feature request?

service-worker

Description

Based on #47754 (comment).

We need to provide a function (like provideServiceWorkerSupport) to replace the ServiceWorkerModule.register call, so that there is no need to import and use NgModule in standalone use-cases.

Metadata

Metadata

Assignees

Labels

area: service-workerIssues related to the @angular/service-worker packagecross-cutting: standaloneIssues related to the NgModule-less worldfeatureLabel used to distinguish feature request from other issuesfeature: in backlogFeature request for which voting has completed and is now in the backlog

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions