UNPKG

website-auditfy

Version:

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

19 lines 836 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RenderBlockingInsightRule = void 0; const lighthouse_helper_1 = require("../../../linters/lighthouse.helper"); class RenderBlockingInsightRule { constructor(dom, lightHouse) { this.id = 'render-blocking-insight'; this.tags = ['performance']; this.description = 'Render blocking requests'; this.ruleUrl = 'https://web.dev/learn/performance/understanding-the-critical-path#render-blocking_resources'; this.dom = dom; this.lightHouse = lightHouse; } check() { return lighthouse_helper_1.LighthouseHelper.identifyRule(this.id, this.ruleFlow, this.lightHouse); } } exports.RenderBlockingInsightRule = RenderBlockingInsightRule; //# sourceMappingURL=render-blocking-insight.rule.js.map