-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
102 lines (94 loc) · 2.71 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
[build]
# command = "npx pnpm install --store=node_modules/.pnpm-store && pnpm build"
# command = "ls -la && printenv && npm run build"
# publish = ".next"
# ignore = "git diff --quiet \"${CACHED_COMMIT_REF}\" \"${COMMIT_REF}\" src/**/* public/* netlify.toml next-env.d.ts next-sitemap.js next.config.js package.json pnpm-lock.yaml postcss.config.js tailwind.config.js tsconfig.json"
ignore = "git diff --quiet $CACHED_COMMIT_REF $COMMIT_REF -- src/ public/ netlify.toml next.config.js pnpm-lock.yaml package.json"
[build.environment]
# NPM_FLAGS = "--version"
# NPM_FLAGS = "--prefix=/"
# CI = "1"
# cache Cypress binary in local "node_modules" folder
# so Netlify caches it
# CYPRESS_CACHE_FOLDER = "./node_modules/CypressBinary"
# set TERM variable for terminal output
TERM = "xterm"
# suppress browserslist notice
BROWSERSLIST_IGNORE_OLD_DATA = "true"
# If skip_processing = true, all other settings are ignored
# [build.processing]
# skip_processing = false
# [build.processing.css]
# bundle = true
# minify = false
# [build.processing.js]
# bundle = true
# minify = false
# [build.processing.html]
# pretty_urls = true
# [build.processing.images]
# compress = true
[context.production.environment]
NODE_ENV = "production"
[context.server.environment]
NODE_ENV = "production"
# [[plugins]]
# package = "@netlify/plugin-nextjs"
# [[plugins]]
# runs Cypress tests against the deployed URL
# package = "netlify-plugin-cypress"
# [plugins.inputs]
# record = true
# spec = "cypress/integration/smoke/*.js"
# # pa11y config
# [[plugins]]
# package = "netlify-plugin-a11y"
# [plugins.inputs]
# checkPaths = ['/']
# resultMode = "warn" # is "error" by default
# ignoreDirectories = ['/admin'] # explicitly ignore these directories
[[plugins]]
package = "netlify-plugin-html-validate"
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
entryPoints = ["*.html"]
recursive = true
pretty = true
checkExternal = true
followSourceMaps = true
skipPatterns = [
"fonts.gstatic.com",
"amphtml",
"chunks",
"_next",
"index.html",
"legal",
"dog",
"fauna-",
"page-1",
"first-amp",
"account-settings"
]
# eslint-disable-next-line toml/array-element-newline
todoPatterns = ["hybrid", ".css"]
# # lighthouse config
# [[plugins]]
# package = "@netlify/plugin-lighthouse"
# # optional, fails build when a category is below a threshold
# [plugins.inputs.thresholds]
# performance = 0.9
# accessibility = 0.9
# best-practices = 0.9
# seo = 0.8
# [[plugins.inputs.audits]]
# path = "de/legal"
# [[plugins.inputs.audits]]
# path = "first-amp"
# [plugins.inputs.audits.thresholds]
# performance = 0.8
[[plugins]]
package = "@sentry/netlify-build-plugin"
[plugins.inputs]
sentryOrg = "vehicle-jg"
sentryProject = "overnext"