Don't struggle with extending the service worker in Create React App anymore. Upgrade to version 4!
No need to struggle with how to customize and extend the service worker without ejecting Create React...
Tags: react, javascript, typescript, pwa