Skip to content

Instantly share code, notes, and snippets.

@quietcactus
Created August 22, 2023 18:29
Show Gist options
  • Save quietcactus/4718851c9eb23af85531a783df976d9c to your computer and use it in GitHub Desktop.
Save quietcactus/4718851c9eb23af85531a783df976d9c to your computer and use it in GitHub Desktop.
unlighthouse config file
/**
* All config options can be found here
* https://unlighthouse.dev/api/config/
*/
export default {
// set site url
site: '',
// set max routes / pages
scanner: {
maxRoutes: 500,
// exclude specific routes
// exclude: [
// '/.*?pdf',
// '.*/amp',
// 'en-*',
// ],
// Explicitly include paths; this will exclude any paths not listed here.
// include: [
// '/maryland-professional-license-defense-lawyer/*'
// ],
// Use desktop to scan, Mobile is used by default
// device: 'desktop',
},
// set lighthouse options, these are all the options that are enabled by default, uncomment to override and use specific options
// lighthouseOptions: {
// onlyCategories: ['performance', 'best-practices', 'accessibility', 'seo'],
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment