Skip to content

Commit e968fec

Browse files
feat: add initial Netlify configuration for build and deployment
1 parent 26400c3 commit e968fec

1 file changed

Lines changed: 22 additions & 0 deletions

File tree

netlify.toml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
[build]
2+
command = "pnpm -C apps/client build"
3+
publish = "apps/client/dist"
4+
5+
[build.environment]
6+
NODE_VERSION = "20"
7+
PNPM_VERSION = "8.6.12"
8+
9+
[[redirects]]
10+
from = "/*"
11+
to = "/index.html"
12+
status = 200
13+
14+
[[headers]]
15+
for = "/assets/*"
16+
[headers.values]
17+
Cache-Control = "public, max-age=31536000, immutable"
18+
19+
[[headers]]
20+
for = "/*.html"
21+
[headers.values]
22+
Cache-Control = "public, max-age=0, must-revalidate"

0 commit comments

Comments
 (0)