GoogleChrome / GoogleChrome/lighthouse
Lighthouse audit always return warning 'Missing source maps for large first-party JavaScript'
- Dominant language
- JavaScript
- Stars
- 30.8k
- Forks
- 9.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 19
Description
### FAQ
- [X] Yes, my issue is not about [variability](https://github.com/GoogleChrome/lighthouse/blob/main/docs/variability.md) or [throttling](https://github.com/GoogleChrome/lighthouse/blob/main/docs/throttling.md).
- [X] Yes, my issue is not about a specific accessibility audit (file with [axe-core](https://github.com/dequelabs/axe-core) instead).
### URL
https://sportz.picassorewards.com:8443/login
### What happened?
I face an issue of Chrome Lighthouse Audit.
I build a web app that loads Sock JS minified file.
The file is -> [https://unpkg.com/sockjs-client@1.5.0/dist/sockjs.min.js][1]
As you can see, there is **//# sourceMappingURL** at the end of the file.
Also, there is the source map file -> [https://unpkg.com/sockjs-client@1.5.0/dist/sockjs.min.js.map][2]
[1]: https://unpkg.com/sockjs-client@1.5.0/dist/sockjs.min.js
[2]: https://unpkg.com/sockjs-client@1.5.0/dist/sockjs.min.js.map
### What did you expect?
I think that warning should not appear.
### What have you tried?
I have tried to load the SockJS minified file from the CDN and do the Lighthouse Audit several times, but it's still produce the same warning :
**Missing source maps for large first-party JavaScript**
Environment :
- Ubuntu 22.04
- Brave Browser v1.50.114
Am I missing something here or there is a bug in the Lighthouse?
Thank you.
### How were you running Lighthouse?
Chrome DevTools
### Lighthouse Version
10.0.1
### Chrome Version
112.0.5615.49
### Node Version
_No response_
### OS
Linux Ubuntu 22.04
### Relevant log output
_No response_
Contributor guide
Assessment
This issue has not been assessed yet.