-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnetlify.toml
More file actions
39 lines (31 loc) · 779 Bytes
/
netlify.toml
File metadata and controls
39 lines (31 loc) · 779 Bytes
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
[build]
command = "npm run build && npm run build:functions"
functions = "netlify/functions"
publish = "dist"
[build.environment]
NODE_VERSION = "18"
AWS_LAMBDA_JS_RUNTIME = "nodejs18.x"
SCANNER_CONCURRENCY = "8"
WEBPAGE_SCRIPT_CONCURRENCY = "5"
[[redirects]]
from = "/*"
to = "/index.html"
status = 200
[functions]
node_bundler = "esbuild"
included_files = ["src/lib/**"]
external_node_modules = ["@octokit/rest", "@octokit/core", "@octokit/plugin-rest-endpoint-methods"]
[functions.scan-repository]
timeout = 30
memory = 1024
node_bundler = "esbuild"
[functions.scan-webpage]
timeout = 30
memory = 1024
node_bundler = "esbuild"
[dev]
framework = "#custom"
command = "npm run dev"
targetPort = 5173
port = 8888
publish = "dist"