lundi 5 mars 2018

main.js.gz throwing an error in safari

I'm doing SPA using reactJs. once I bundle my code with webpack and put it into web server, main.js.gz file throw an error that causes an empty white screen to be shown.

[Error] SyntaxError: Invalid character '\u001f' (anonymous function) (main.js.gz:1)

this only happens in safari browsers and while I'm trying to connect from Internet link. using my local network doesn't throw any error.




Aucun commentaire:

Enregistrer un commentaire