-
Notifications
You must be signed in to change notification settings - Fork 9
/
index.js
36 lines (36 loc) · 1.61 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
module.exports = {
audits: [
{ path: 'lighthouse-plugin-field-performance/src/audits/field-fcp.js' },
{ path: 'lighthouse-plugin-field-performance/src/audits/field-lcp.js' },
{ path: 'lighthouse-plugin-field-performance/src/audits/field-fid.js' },
{ path: 'lighthouse-plugin-field-performance/src/audits/field-cls.js' },
{ path: 'lighthouse-plugin-field-performance/src/audits/field-fcp-origin.js' },
{ path: 'lighthouse-plugin-field-performance/src/audits/field-lcp-origin.js' },
{ path: 'lighthouse-plugin-field-performance/src/audits/field-fid-origin.js' },
{ path: 'lighthouse-plugin-field-performance/src/audits/field-cls-origin.js' },
],
groups: {
page: {
title: 'Page summary',
},
origin: {
title: 'Origin summary',
},
},
category: {
title: 'Field Performance',
description:
'These metrics show the performance of the page over the past 30 days. Data is collected anonymously in for real-world Chrome users and provided by Chrome UX Report. [Learn More](https://developers.google.com/web/tools/chrome-user-experience-report/)',
auditRefs: [
// CWVs are weighted equally
{ id: 'field-fcp', weight: 0, group: 'page' },
{ id: 'field-lcp', weight: 1, group: 'page' },
{ id: 'field-fid', weight: 1, group: 'page' },
{ id: 'field-cls', weight: 1, group: 'page' },
{ id: 'field-fcp-origin', weight: 0, group: 'origin' },
{ id: 'field-lcp-origin', weight: 0, group: 'origin' },
{ id: 'field-fid-origin', weight: 0, group: 'origin' },
{ id: 'field-cls-origin', weight: 0, group: 'origin' },
],
},
}