Answer the question
In order to leave comments, you need to log in
REACT + WEBPACK + PWA Production Mode?
I deployed a React app with PWA functionality.
But it gives me an error. What it does not do on localhost. Do I understand correctly that the jamb is from the Webpack side and I need to connect the script to reset the manifest.json?
Or is the problem in the wrong serviceWorker spelling? logs from the console...
UPD: Building and deploying on the local host produces the same thing.
UPD: there is a normal manifest.json in the build folder
UPD: if you do not register the worker, everything is ok
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question