Closed vishalxl closed 2 years ago
It indeed fixes the production build but not all of it is needed.
As I see it, the JSON.stringify() line is still needed to make the build run. i see that only after adding that line am I able to run the build version on all three main browsers on windows.
Before this, npm run build was giving error when validateEvent was run which internally used global.process, which came as undefined ( and no events were fetched) .
Now it runs, and fetches events.