From aed059c488a67218f056cc4d1417bd349dc4f884 Mon Sep 17 00:00:00 2001 From: Jarrod Millman Date: Sat, 6 Aug 2022 09:49:11 -0700 Subject: [PATCH] Upgrade lighthouse plugin --- netlify.toml | 34 ++++++++++++++++++++-------------- 1 file changed, 20 insertions(+), 14 deletions(-) diff --git a/netlify.toml b/netlify.toml index eadf507854..e5af93dc0a 100644 --- a/netlify.toml +++ b/netlify.toml @@ -15,18 +15,24 @@ [plugins.inputs] todoPatterns = [" public/pt/user-surveys", " public/ja/user-surveys"] +#### +## FIX: Removed so we can use new version of lighthouse +## ❯ Outdated plugins +## - @netlify/plugin-lighthouse@2.1.3: latest version is 3.2.0 +## To upgrade this plugin, please remove it from "netlify.toml" and +## install it from the Netlify plugins directory instead (https://app.netlify.com/plugins) -[[plugins]] - package = "@netlify/plugin-lighthouse" - - # optional, fails build when a category is below a threshold - [plugins.inputs.thresholds] - performance = 0.4 - accessibility = 0.9 - best-practices = 0.9 - seo = 0.7 - pwa = 0.2 - - # optional, deploy the lighthouse report to a path under your site - [plugins.inputs] - output_path = "reports/lighthouse.html" +#[[plugins]] +# package = "@netlify/plugin-lighthouse" +# +# # optional, fails build when a category is below a threshold +# [plugins.inputs.thresholds] +# performance = 0.4 +# accessibility = 0.9 +# best-practices = 0.9 +# seo = 0.7 +# pwa = 0.2 +# +# # optional, deploy the lighthouse report to a path under your site +# [plugins.inputs] +# output_path = "reports/lighthouse.html"