-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
56 lines (44 loc) · 1.16 KB
/
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[build]
base = "/"
publish = "/public"
command = "npm run build"
[enviroment.production]
NODE_ENV = "production"
NODE_VERSION = "14.18.x"
NPM_VERSION = "7.24.x"
NETLIFY_USE_YARN = true
RUBY_VERSION = "2.7.x"
PHP_VERSION = "7.4.x"
PYTHON_VERSION = "3.8.10"
NETLIFY = true
_system_arch = "x64"
_system_version = "20.04"
INCOMING_HOOK_TITLE = "stackbit-build-hook"
INCOMING_HOOK_URL = "https://api.netlify.com/build_hooks/60323e85550410748717866c"
INCOMING_HOOK_BODY = "curl -X POST -d {} https://api.netlify.com/build_hooks/60323e85550410748717866c"
[[plugins]]
package = "@netlify/plugin-lighthouse"
# optional, fails build when a category is below a threshold
[plugins.inputs.thresholds]
performance = 0.6
accessibility = 0.6
best-practices = 0.6
seo = 0.6
pwa = 0.1
# optional, deploy the lighthouse report to a path under your site
[plugins.inputs.audits]
output_path = "reports/lighthouse/.html"
[[plugins]]
package = "@netlify/plugin-gatsby"
[build.processing]
skip_processing = false
[build.processing.css]
bundle = true
minify = true
[build.processing.js]
bundle = true
minify = true
[build.processing.html]
pretty_urls = true
[build.processing.images]
compress = true