-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathnetlify.toml
More file actions
31 lines (26 loc) · 1.12 KB
/
netlify.toml
File metadata and controls
31 lines (26 loc) · 1.12 KB
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
[build]
command = "npm install -g bun && bun install && bun run build && mkdir -p _netlify/builders && cp -r dist _netlify/builders/developers"
publish = "_netlify/builders"
environment = { NETLIFY = "true" }
[context.production]
command = "npm install -g bun && bun install && bun run build && mkdir -p _netlify/builders && cp -r dist _netlify/builders/developers"
publish = "_netlify/builders"
environment = { NETLIFY = "true" }
[context.preview]
command = "npm install -g bun && bun install && bun run build && mkdir -p _netlify/builders && cp -r dist _netlify/builders/developers"
publish = "_netlify/builders"
environment = { NETLIFY = "true" }
[context.deploy-preview]
command = "npm install -g bun && bun install && bun run build && mkdir -p _netlify/builders && cp -r dist _netlify/builders/developers"
publish = "_netlify/builders"
environment = { NETLIFY = "true" }
# Rewrite everything to /developers/index.html for client-side routing
[[redirects]]
from = "/developers/*"
to = "/developers/index.html"
status = 200
# Root redirect
[[redirects]]
from = "/"
to = "/developers/"
status = 301