When I uploaded my theme to the server, console shows error:
In general the app works. This is the only issue. I have default configuration of service worker and pretty the same manifest.json as default. The code is here: https://github.com/Radeon2211/zlotowmsf
This happens in every browser (I tested Chrome, Edge, Firefox and Chrome on mobile). Due to this I can't add an app to home screen. This is especially important to me. This issue happens even in brand new project on freshly installed wordpress server. I was looking for a solution but neither was related to create-react-wptheme, but in general to React. I saw many advices to edit webpack configuration. I don't remember what I've done exactly but after webpack ejecting I was't able to build the app due to a few errors with webpack.
When I uploaded my theme to the server, console shows error:
In general the app works. This is the only issue. I have default configuration of service worker and pretty the same manifest.json as default. The code is here: https://github.com/Radeon2211/zlotowmsf
This happens in every browser (I tested Chrome, Edge, Firefox and Chrome on mobile). Due to this I can't add an app to home screen. This is especially important to me. This issue happens even in brand new project on freshly installed wordpress server. I was looking for a solution but neither was related to create-react-wptheme, but in general to React. I saw many advices to edit webpack configuration. I don't remember what I've done exactly but after webpack ejecting I was't able to build the app due to a few errors with webpack.