Making sense of v2.js source map error in Google Lighthouse
Is it possible to add a source map to the standard HubSpot v2.js file? I believe it automatically gets included in a form module—I don't add it directly.
When I run Google Lighthouse it throws an error:
It's a bit unclear but it looks like forms/v2.js needs a source map and there is an additional file missing a souce map but the layout doesn't make it clear if the two messages relate.
Any ideas?
I'm considering using the forms API to avoid loading v2.js but that feels like overkill.
Making sense of v2.js source map error in Google Lighthouse
I'm developing locally so in theory I can add the a source map anywhere but the more I think about it the more it feels weird to add a source map to a file that I don't really have access to and didn't create.
I wonder if instead there's a way to mark it as third-party code?