forked from ashiskumar-1999/ethereum-org-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
netlify.toml
26 lines (22 loc) · 778 Bytes
/
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
# Settings in the [build] context are global and are applied to all contexts
# unless otherwise overridden by more specific contexts.
[build]
# Directory (relative to root of your repo) that contains the deploy-ready
# HTML files and assets generated by the build. If a base directory has
# been specified, include it in the publish directory path.
publish = ".next"
# Default build command.
command = "yarn build"
[[headers]]
for = "/*"
[headers.values]
Access-Control-Allow-Origin = "https://esp.ethereum.foundation"
[[plugins]]
package = "@netlify/plugin-nextjs"
[functions]
included_files = [
"./src/intl/**/*",
"!./public/**/*",
"!./node_modules/@swc/core-linux-x64-musl/**/*",
"!./node_modules/@swc/core-linux-x64-gnu/**/*",
]