GoogleChrome / GoogleChrome/lighthouse
Incorporate sourceURL comments throughout report
Open
P3
- Dominant language
- JavaScript
- Stars
- 30.8k
- Forks
- 9.8k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 19
Description
Mostly laid out here: https://github.com/GoogleChrome/lighthouse/pull/11302#issuecomment-681206230
Scripts are heavily tied to network records. Developers can use `sourceURL` to better describe scripts (usually these scripts are inline or eval'd from an xhr). Currently we ignore `sourceURL`\* comments and always show the original url (for example: inline script with `sourceURL` comment will display as the document url for any audit that references the script).
If we could make `Link` details where `url` = the real URL and `text` = `sourceURL`, I think that'd be ideal.
\* except for inside font-size ...
Contributor guide
Assessment
This issue has not been assessed yet.