DEV Community

Discussion on: How to transform a React app built on Webpack to PWA

Collapse
 
chuksjoe profile image
Chukwunonso Orjiakor

Good evening Kalita. Sorry I'm just replying your question.
If you've done your webpack setting rightly, the serviceWorker.js file will be auto generated when you build the app.

Also note that you don't need to use the create-react-app command, cos it sets up the PWA for you by default