website-auditfy
Version:
> Tool for validate your project on SEO, HTML, CSS, JS, TS, Performance, Security and A11Y
19 lines • 818 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ThirdPartyFacadesRule = void 0;
const lighthouse_helper_1 = require("../../../linters/lighthouse.helper");
class ThirdPartyFacadesRule {
constructor(dom, lightHouse) {
this.id = 'third-party-facades';
this.tags = ['performance'];
this.description = 'Lazy load third-party resources with facades';
this.ruleUrl = 'https://developer.chrome.com/docs/lighthouse/performance/third-party-facades/';
this.dom = dom;
this.lightHouse = lightHouse;
}
check() {
return lighthouse_helper_1.LighthouseHelper.identifyRule(this.id, this.ruleFlow, this.lightHouse);
}
}
exports.ThirdPartyFacadesRule = ThirdPartyFacadesRule;
//# sourceMappingURL=third-party-facades.rule.js.map