From b05a5d1f875132444c25b555c0d69e0124d71c2f Mon Sep 17 00:00:00 2001 From: Zach Leatherman Date: Tue, 24 Jan 2023 10:36:11 -0600 Subject: [PATCH] Note about plugin install [skip ci] --- netlify.toml | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) diff --git a/netlify.toml b/netlify.toml index 29a66a8..83c0190 100644 --- a/netlify.toml +++ b/netlify.toml @@ -1,16 +1,22 @@ [build] - publish = "_site" - command = "npm run build" + publish = "_site" + command = "npm run build" [[plugins]] - package = "@netlify/plugin-lighthouse" - # optional, fails build when a category is below a threshold - [plugins.inputs.thresholds] - performance = 1.0 - accessibility = 1.0 - best-practices = 1.0 - seo = 1.0 + # Opt-in to the Netlify Lighthouse plugin (choose one): - [plugins.inputs] - output_path = "reports/lighthouse/index.html" + # 1. via the Netlify UI https://app.netlify.com/sites/eleventy-base-blog/integrations/plugins + # 2. Or via `npm install -D @netlify/plugin-lighthouse` + + package = "@netlify/plugin-lighthouse" + + # optional, fails build when a category is below a threshold + [plugins.inputs.thresholds] + performance = 1.0 + accessibility = 1.0 + best-practices = 1.0 + seo = 1.0 + + [plugins.inputs] + output_path = "reports/lighthouse/index.html"