Hi there,
I attempted to update my website yesterday (only updating text and CSS) and observed strange behaviour when attempting to publish the changes. It’s fairly simple static single-page website, using React and Gatsby.
- The updated site builds and loads locally without errors
- The updated site builds and loads as a preview on Netlify without errors (
Preview
button on a specificDeploy
page) - When I publish the updated site, the published site has an error in the console and some functionality is broken.
It is difficult to determine the source of the error, because everything is minimized in the production deploy. FWIW, this is the error log: TypeError: a is not a function. (In 'a("atStart",!0)', 'a' is an instance of Object)
I’m not sure how to proceed with diagnosing the problem here. I can only reproduce this issue by publishing the latest commit, which breaks functionality on a live site (for now, I have rolled back to the previous version).
I’d appreciate any pointers regarding why the deployment previous could have different behaviour than the published deployment. Thanks!