2023-08-17 13:44:59 +00:00
|
|
|
[build]
|
|
|
|
base = ""
|
2024-03-25 12:56:38 +00:00
|
|
|
command = "npm run build:prod"
|
2023-09-24 16:33:50 +00:00
|
|
|
publish = "docs/.vitepress/dist"
|
2024-03-25 12:56:38 +00:00
|
|
|
ignore = "git diff --quiet HEAD^ HEAD docs/ netlify.toml package.json package-lock.json .node-version"
|
2023-08-17 13:44:59 +00:00
|
|
|
|
2023-09-24 16:33:50 +00:00
|
|
|
[build.processing]
|
|
|
|
skip_processing = true
|
2023-08-17 13:44:59 +00:00
|
|
|
|
|
|
|
[[plugins]]
|
|
|
|
package = "@netlify/plugin-lighthouse"
|
|
|
|
|
|
|
|
[plugins.inputs]
|
|
|
|
fail_deploy_on_score_thresholds = "true"
|
|
|
|
|
|
|
|
[plugins.inputs.thresholds]
|
|
|
|
accessibility = 1
|
|
|
|
best-practices = 1
|
|
|
|
seo = 1
|
2024-03-04 20:36:17 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/fr/*"
|
|
|
|
to = "/:splat"
|
|
|
|
status = 301
|
|
|
|
force = true
|
2024-05-13 20:38:52 +00:00
|
|
|
|
|
|
|
[[redirects]]
|
|
|
|
from = "/misc/applepressandholdenabled.html"
|
|
|
|
to = "/keyboard/applepressandholdenabled.html"
|
|
|
|
status = 301
|
|
|
|
force = true
|