-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnetlify.toml
44 lines (36 loc) · 1.3 KB
/
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
[build]
command = "next build"
functions = "netlify/functions"
publish = ".next"
[functions]
included_files = [
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/router-context*",
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/amp-context*",
"node_modules/next/dist/server/future/route-modules/pages/vendored/contexts/head-manager-context*",
]
[[redirects]]
from = "/_next/image*"
to = "/_next/image*"
status = 200
force = true
[[redirects]]
from = "/_next/*"
to = "/:splat"
status = 200
[[redirects]]
from = "/redirects/mml-starter-project-codesandbox"
to = "https://codesandbox.io/p/sandbox/stoic-fire-tlx9k6"
status = 302
[[redirects]]
from = "/redirects/mml-playground-codesandbox"
to = "https://codesandbox.io/p/sandbox/df546f"
status = 302
[[plugins]]
package = "@netlify/plugin-nextjs"
## (optional) Settings for Netlify Dev
## https://github.com/netlify/cli/blob/main/docs/netlify-dev.md#project-detection
#[dev]
# command = "yarn start" # Command to start your dev server
# port = 3000 # Port that the dev server will be listening on
# publish = "dist" # Folder with the static content for _redirect file
## more info on configuring this file: https://docs.netlify.com/configure-builds/file-based-configuration/