UNPKG

website-auditfy

Version:

> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y

19 lines 799 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.LcpDiscoveryInsightRule = void 0; const lighthouse_helper_1 = require("../../../linters/lighthouse.helper"); class LcpDiscoveryInsightRule { constructor(dom, lightHouse) { this.id = 'lcp-discovery-insight'; this.tags = ['performance']; this.description = 'LCP request discovery'; this.ruleUrl = 'https://web.dev/articles/optimize-lcp#1_eliminate_resource_load_delay'; this.dom = dom; this.lightHouse = lightHouse; } check() { return lighthouse_helper_1.LighthouseHelper.identifyRule(this.id, this.ruleFlow, this.lightHouse); } } exports.LcpDiscoveryInsightRule = LcpDiscoveryInsightRule; //# sourceMappingURL=lcp-discovery-insight.rule.js.map