-
Notifications
You must be signed in to change notification settings - Fork 27.1k
Add a function to provide ServiceWorker support without referencing NgModules #47793
Copy link
Copy link
Closed
Labels
area: service-workerIssues related to the @angular/service-worker packageIssues related to the @angular/service-worker packagecross-cutting: standaloneIssues related to the NgModule-less worldIssues related to the NgModule-less worldfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: in backlogFeature request for which voting has completed and is now in the backlogFeature request for which voting has completed and is now in the backlog
Milestone
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area: service-workerIssues related to the @angular/service-worker packageIssues related to the @angular/service-worker packagecross-cutting: standaloneIssues related to the NgModule-less worldIssues related to the NgModule-less worldfeatureLabel used to distinguish feature request from other issuesLabel used to distinguish feature request from other issuesfeature: in backlogFeature request for which voting has completed and is now in the backlogFeature request for which voting has completed and is now in the backlog