I\'m using create-react-app with an express server.
create-react-app has a pre-configured ServiceWorker that caches local assets (https://github.com/fac
create-react-app
In case, you're working on with NodeJS, serviceWorker file should place at public folder. If you're using Webpack to export serviceWorker to public, you need to use 'copy-webpack-plugin'.