forked from w3c/wai-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
29 lines (23 loc) · 863 Bytes
/
netlify.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
[build]
# with debugging: command = "git submodule update --init --remote && bundle exec jekyll build --verbose --trace --config '_config.yml,_config_staging.yml'"
command = "git submodule update --init --remote && npm install && bundle exec jekyll build --profile --trace --config '_config.yml,_config_staging.yml'"
publish = "_site"
[build.environment]
RUBY_VERSION = "3.3.3"
[[redirects]]
from = "/wai-website"
to = "/"
status = 404
[dev]
command = "bundle exec jekyll serve -w --livereload --config _config.yml,_config_staging.yml"
[functions]
directory = "_functions"
node_bundler = "esbuild"
[[plugins]]
package = "@netlify/plugin-functions-install-core"
[[plugins]]
# See https://github.com/netlify/netlify-plugin-lighthouse#readme
package = "@netlify/plugin-lighthouse"
[plugins.inputs.settings]
preset = "desktop" # default is mobile
locale = "en"