harlan-zw / unlighthouse

Scan your entire site with Google Lighthouse in 2 minutes (on average). Open source, fully configurable with minimal setup.
https://unlighthouse.dev
MIT License
3.84k stars 111 forks source link

Can I specify custom Lighthouse plugins in the config? #48

Open jackdbd opened 1 year ago

jackdbd commented 1 year ago

Details

I had a look at the documentation, but could't find whether is possible or not to specify custom Lighthouse plugins in the config. For example, these two plugins would be quite useful:

The latter is included in the "default" Lighthouse report available in Chrome DevTools.

PS: awesome project! :1st_place_medal:

harlan-zw commented 1 year ago

Hey @jackdbd

Thanks for the issue. I wasn't actually aware that plugins work, nice share!

I'm working on Lighthouse 10 support, will try and get these working in the same release.

pedddro commented 1 year ago

@harlan-zw is there a plan to integrate them in the UI?

harlan-zw commented 1 year ago

You have the ability to customize the columns already so it should be possible.

It's unlikely Unlighthouse would modify the columns for you based on the plugins used, at least at this stage.

pedddro commented 1 year ago

@harlan-zw My idea would integrate lighthouse-field-performance. It would allow to sort URLs with enough data and prioritize them.

pedddro commented 1 year ago

The current ways to track page-level(not origin) Core Web Vitals field data that I can think of are by paying a RUM or this project which also leverages the PSI API to work, same as treo LH plugin.