forked from sourcegraph/handbook
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
38 lines (33 loc) · 1.23 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
[build]
command = "yarn run netlify-build"
publish = "out"
# https://docs.netlify.com/configure-builds/file-based-configuration/#post-processing
# If skip_processing = true, all other settings are ignored
[build.processing]
skip_processing = false
[build.processing.css]
bundle = false
minify = false
[build.processing.js]
bundle = false
minify = false
[build.processing.html]
pretty_urls = true
[build.processing.images]
compress = false
[[plugins]]
package = "@netlify/plugin-nextjs"
[[plugins]]
package = "@algolia/netlify-plugin-crawler"
[plugins.inputs]
branches = ['main']
mainBranch = 'main'
customDomain = "handbook.sourcegraph.com"
renderJavaScript = false
[functions]
node_bundler = "esbuild"
external_node_modules = ["@ampproject/toolbox-optimizer"]
[[headers]]
for = "/*"
[headers.values]
Content-Security-Policy = "script-src 'self' *.netlify.com *.netlify.app *.app.netlify.com *.swiftypecdn.com *.segment.com *.segment.io plausible.io 'sha256-JcUwlbcTNdtwp5Szxufx3JIsjsem70t6DXyfcgTcAnQ=' 'sha256-MEya+PLw9XU1WNgiMij94hmgncY4GS+aQhjC2zqaAz4=' 'sha256-ETVmFY/pVNIiyKhDh3yPNf+mlhV1Z32Ax232eJ+ES7o='; style-src 'self' 'unsafe-inline' *.swiftypecdn.com; font-src 'self' fonts.gstatic.com; frame-ancestors *.continu.co"