I
I
IDONTSUDO2019-11-29 17:13:10
React
IDONTSUDO, 2019-11-29 17:13:10

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?
5de129b968e8f581570413.png
Or is the problem in the wrong serviceWorker spelling? logs from the console...
5de12a0ab73aa790500821.png
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 question

Ask a Question

731 491 924 answers to any question