-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
50 lines (41 loc) · 1.48 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
[build]
command = "npm run build"
publish = "build"
[build.environment]
# Netlify's build process defaults to UTC
# This will make it match my local environment in Eastern time
# Which mostly affects the timestamps on publish dates
TZ = "America/New_York"
# set TERM variable for terminal output
TERM = "xterm"
[dev]
framework = "#static"
autoLaunch = false
[[plugins]]
package = "netlify-plugin-checklinks"
[plugins.inputs]
skipPatterns = [
# these are also a netlify redirect
'/cloudinary-auto-optimized',
'/cloudinary-resized-n-optimized',
# see https://github.com/leereamsnyder/leereamsnyder.com/issues/321
# sveltekit adapter-static as of v38 outputs like
# /blog/${FOO}.html
# /blog/${FOO}/__data.json
# but all those directories with __data.json do not have an index.html of their own
# and this plugin I believe is expecting a possible-"directory"-y link (eg href="/blog/foo")
# to have an index.html
# so this filter feels a little over-eager, but I don't ACTUALLY link to anything
# internal to my own site with an "whatever/index.html" URL
# and this gets the build rolling again
'/index.html'
]
[[plugins]]
package = "@netlify/plugin-sitemap"
# Custom plugin for handling rewrites for cloudinary
[[plugins]]
package = "/netlify/plugins/cloudinary-image-rewrite"
[[plugins]]
package = "@netlify/plugin-lighthouse"
[[plugins]]
package = "netlify-plugin-playwright-cache"