forked from dillonzq/LoveIt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnetlify.toml
29 lines (21 loc) · 813 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]
publish = "exampleSite/public"
[build.environment]
HUGO_VERSION = "0.144.2"
HUGO_ENV = "production"
HUGO_ENABLEGITINFO = "true"
[context.production]
command = "hugo --source exampleSite --theme repo --themesDir ../.. --baseURL ${URL} --gc --minify"
[context.deploy-preview]
command = "hugo --source exampleSite --theme repo --themesDir ../.. --baseURL ${DEPLOY_PRIME_URL} --gc --minify --buildDrafts"
[context.branch-deploy]
command = "hugo --source exampleSite --theme repo --themesDir ../.. --baseURL ${DEPLOY_PRIME_URL} --gc --minify"
[[plugins]]
package = "netlify-plugin-hugo-cache-resources"
[plugins.inputs]
debug = true
srcdir = "exampleSite"
[[plugins]]
package = "@netlify/plugin-lighthouse"
[plugins.inputs.settings]
preset = "desktop"