Note about plugin install [skip ci]
This commit is contained in:
parent
f5c3ee3f65
commit
b05a5d1f87
28
netlify.toml
28
netlify.toml
@ -1,16 +1,22 @@
|
|||||||
[build]
|
[build]
|
||||||
publish = "_site"
|
publish = "_site"
|
||||||
command = "npm run build"
|
command = "npm run build"
|
||||||
|
|
||||||
[[plugins]]
|
[[plugins]]
|
||||||
package = "@netlify/plugin-lighthouse"
|
|
||||||
|
|
||||||
# optional, fails build when a category is below a threshold
|
# Opt-in to the Netlify Lighthouse plugin (choose one):
|
||||||
[plugins.inputs.thresholds]
|
|
||||||
performance = 1.0
|
|
||||||
accessibility = 1.0
|
|
||||||
best-practices = 1.0
|
|
||||||
seo = 1.0
|
|
||||||
|
|
||||||
[plugins.inputs]
|
# 1. via the Netlify UI https://app.netlify.com/sites/eleventy-base-blog/integrations/plugins
|
||||||
output_path = "reports/lighthouse/index.html"
|
# 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"
|
||||||
|
Loading…
Reference in New Issue
Block a user