By design, the core of the build process isn’t directly extensible
create-react-pwa
Jeffrey Posnick
701

I don’t understand this point.
Another approach would be to extend the Webpack build process.
The direct advantage is that you can play with the Service Worker in the development mode.


I have built a plugin to do so https://github.com/oliviertassinari/serviceworker-webpack-plugin.