2018-01-25 22:12:48 -05:00
|
|
|
[build]
|
2023-01-24 11:36:11 -05:00
|
|
|
publish = "_site"
|
|
|
|
command = "npm run build"
|
2023-01-24 11:25:29 -05:00
|
|
|
|
|
|
|
[[plugins]]
|
|
|
|
|
2023-01-24 11:36:11 -05:00
|
|
|
# Opt-in to the Netlify Lighthouse plugin (choose one):
|
2023-01-24 11:25:29 -05:00
|
|
|
|
2023-01-24 11:36:11 -05:00
|
|
|
# 1. via the Netlify UI https://app.netlify.com/sites/eleventy-base-blog/integrations/plugins
|
|
|
|
# 2. Or via `npm install -D @netlify/plugin-lighthouse`
|
|
|
|
|
2023-01-24 11:36:58 -05:00
|
|
|
# Read more: https://github.com/netlify/netlify-plugin-lighthouse
|
|
|
|
|
2023-01-24 11:36:11 -05:00
|
|
|
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"
|