Skip to content

Commit 0239817

Browse files
Remove Netlify functions plugin for static site deployment
1 parent 7e0bee9 commit 0239817

File tree

1 file changed

+4
-19
lines changed

1 file changed

+4
-19
lines changed

netlify.toml

Lines changed: 4 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,6 @@
11
[build]
2-
publish = "dist"
3-
command = "yarn install --frozen-lockfile && yarn generate-json && yarn build"
2+
command = "yarn generate-json && astro build"
3+
publish = "dist"
44

5-
[build.environment]
6-
NODE_VERSION = "20"
7-
NODE_ENV = "production"
8-
YARN_FLAGS = "--frozen-lockfile"
9-
10-
[[redirects]]
11-
from = "/*"
12-
to = "/index.html"
13-
status = 200
14-
15-
[[headers]]
16-
for = "/*"
17-
[headers.values]
18-
X-Frame-Options = "DENY"
19-
X-XSS-Protection = "1; mode=block"
20-
X-Content-Type-Options = "nosniff"
21-
Referrer-Policy = "strict-origin-when-cross-origin"
5+
[build.processing]
6+
skip_processing = true

0 commit comments

Comments
 (0)