25 lines
650 B
TOML
25 lines
650 B
TOML
|
[build]
|
||
|
publish = "_site"
|
||
|
command = "npm run build"
|
||
|
|
||
|
[[plugins]]
|
||
|
|
||
|
# Opt-in to the Netlify Lighthouse plugin (choose one):
|
||
|
|
||
|
# 1. Go to your site on https://app.netlify.com and navigate to the Integrations tab, search for the `Lighthouse` plugin
|
||
|
# 2. Or via `npm install -D @netlify/plugin-lighthouse`
|
||
|
|
||
|
# Read more: https://github.com/netlify/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"
|