LighthouseConfigOptions
Defined in: index.ts:45
Options for defineConfig.
Properties
Section titled “Properties”assertions?
Section titled “assertions?”
optionalassertions?:LighthouseAssertion
Defined in: index.ts:55
Per-audit assertions (lhci assert.assertions). Defaults to defaultAssertions.
startServerCommand?
Section titled “startServerCommand?”
optionalstartServerCommand?:string
Defined in: index.ts:49
The command lhci runs to start the site before auditing (lhci collect.startServerCommand). Omitted when unset.
startServerReadyPattern?
Section titled “startServerReadyPattern?”
optionalstartServerReadyPattern?:string
Defined in: index.ts:51
Pattern lhci waits for in server stdout before running audits. Defaults to lhci’s built-in /(listen|ready)/i.
startServerReadyTimeout?
Section titled “startServerReadyTimeout?”
optionalstartServerReadyTimeout?:number
Defined in: index.ts:53
Milliseconds to wait for startServerReadyPattern before timing out.
uploadTarget?
Section titled “uploadTarget?”
optionaluploadTarget?:string
Defined in: index.ts:57
Default
Section titled “Default”"temporary-public-storage"url:
string|string[]
Defined in: index.ts:47
The URL, or URLs, Lighthouse CI audits (lhci collect.url).