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:38:55 -05:00
|
|
|
# 1. Go to your site on https://app.netlify.com and navigate to the Integrations tab, search for the `Lighthouse` plugin
|
2023-01-24 11:36:11 -05:00
|
|
|
# 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"
|