I added vue integration in my astro project, during development everything is ok. But when I try to built my project, I've following error in my console :
document.createEvent is not a function
Error is focused on this line :
node_modules/@vue/runtime-dom/dist/runtime-dom.cjs.prod.js:279
if (Date.now() > document.createEvent('Event').timeStamp) {
I search on google but I don't found an answer, so I'm here for you help 😉
Thanks.