-
Notifications
You must be signed in to change notification settings - Fork 81
Service WorkerΒ #433
Description
Hi,
My goal is to enable service worker in a Bazel + Angular project.
Currently, the only (useful) piece of info I have found is this:
ng add @angular/pwa --project *project-name*But it does not tell me what code to write and look for.
I ran the command in a small project and tried porting it back to my bazel project. There are quite a few problems here and there. I feel like bumping into issues left and right, without a clear clue of what's happening.
Also, I tried using the native service worker API. Looks like angular intercepts the fetch events.
Is there any other documentation on the internal workings (not using the ng cli) on the Angular service worker?
For your info, I was able to get pass ngsw-worker.js and ngsw.json (hard to dig them out though). I noticed the manifest.json too. But I cannot find out how to write it myself.