I had the same problem.
My code included some manipulation of svg with querySelectorAll. I used it only twice. So I commented it out and added it back in the production file.
Not a nice solution! But in my case it worked.
My code included some manipulation of svg with querySelectorAll. I used it only twice. So I commented it out and added it back in the production file.
Not a nice solution! But in my case it worked.