Closed DSGND closed 1 month ago
La version 4 comporte un breaking change, il faut réadapter la configuration.
Raison : Si le DOM était modifié via JavaScript, les mesures étaient fausses. Il a donc fallu modifier le moteur de mesure (et créer un gatherer custom), ce qui amène parfois une adaptation de la configuration.
npx lighthouse-plugin-ecoindex collect <option>
ne nécessite pas d'adaptation (et son usage est recommandé vs lighthouse cli
).lighthouse-ci
doit être adaptée https://cnumr.github.io/lighthouse-plugin-ecoindex/guides/3-lighthouse-ci/ ;lighthouse cli
il faut utiliser un scénario Puppeteer ou Playwright pour ajouter l'usage d'un gatherer custom. Cf. point 1, son usage n'est pas recommandé sauf utilisation d'un scénario Puppeteer ou Playwright custom. npx lighthouse-plugin-ecoindex collect <option>
est recommandé et fait la même chose.@hrenaud Parfait, je comprends mieux.
La commande lighthouse-plugin-ecoindex collect <option>
semble bien fonctionner.
En effet, je dois adapter mes scripts.
Merci ! Je ferme l'issue ツ
Suite à la mise-à-jour de
lighthouse@12.0.0
et delighthouse-plugin-ecoindex@4.0.1
, les rapports retournent une note à 0.Jusqu'à hier (et la MÀJ), j'utilisais la version
3.3.0
, et RÀS, cela fonctionne bien (j'ai donc downgrade enlighthouse-plugin-ecoindex@3.3.0
pour mes poursuivre mes audits).