In our crash tracking system bugsnag, I see lots of DataCloneError with the following message:
Failed to execute 'postMessage' on 'Window':
function (e,t,n){"use strict";e.exports=n(1360)} could not be cloned.
The time when these first appeared matches upgrading to webpack 4. We're using vendor split to separate our bundle to vendor~app.js and app.js, which are added on the page in that order. The function in the error message appears in the very first part of vendor~app.js.
The error happens with multiple browsers and OS:s, but I've not been able to reproduce it myself. The site where this happens is https://wolt.com
What could cause this crash?