Modular service worker in create-react-app
Abdul Ghani
Here's how I setup modular service worker in create-react-app, be able to inject manifests into the file, import modules/function from other files and use workbox modules inside of the service worker file
Links Workbox webpack plugin - https://developers.google.com/web/tools/workbox/modules/workbox-webpack-plugin Inject manifest plugin - https://developers.google.com/web/tools/workbox/reference-docs/latest/module-workbox-webpack-plugin.InjectManifest Workbox typescript template - https://github.com/cra-template/pwa/tree/master/packages/cra-template-pwa-typescript
Twitter - https://twitter.com/itsabdulghani Patreon - https://www.patreon.com/abdulghani
Timestamps 00:00 - Start ... https://www.youtube.com/watch?v=uUhtpVIetxk
43854813 Bytes