service-worker.js
smarigowda opened this issue · comments
Santosh Marigowda commented
where is service-worker.js stored?
Jeff Posnick commented
It's generated as part of the build process by the sw-precache
command line tool. When used as illustrated in this repo, it will be written out to build/service-worker.js
.
You can see an example of what gets generated in the gh-pages
branch, which has a deployed version of the PWA: https://github.com/jeffposnick/create-react-pwa/blob/gh-pages/service-worker.js
Santosh Marigowda commented
Thank you