You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/ISSUE_TEMPLATE/bug_report.yml
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -39,12 +39,12 @@ body:
39
39
- type: markdown
40
40
attributes:
41
41
value: |
42
-
Check out [CONTRIBUTING.md](https://github.com/netlify/netlify-plugin-nextjs/blob/main/CONTRIBUTING.md#what-is-a-reproducible-test-case) for advice on producing a reproduction repo.
42
+
Check out [CONTRIBUTING.md](https://github.com/netlify/next-runtime/blob/main/CONTRIBUTING.md#what-is-a-reproducible-test-case) for advice on producing a reproduction repo.
43
43
- type: input
44
-
id: plugin-version
44
+
id: runtime-version
45
45
attributes:
46
-
label: Plugin version
47
-
description: The version of `@netlify/plugin-nextjs` that you are using. (This is in the build logs)
46
+
label: Next Runtime version
47
+
description: The version of `@netlify/next-runtime` that you are using. (This is in the build logs)
48
48
placeholder: x.x.x
49
49
validations:
50
50
required: true
@@ -74,7 +74,7 @@ body:
74
74
value: |
75
75
<details>
76
76
<summary>`netlify.toml`</summary>
77
-
77
+
78
78
```toml
79
79
# Paste content of your `netlify.toml` file here
80
80
```
@@ -89,7 +89,7 @@ body:
89
89
value: |
90
90
<details>
91
91
<summary>`_redirects`</summary>
92
-
92
+
93
93
```toml
94
94
# Paste content of your `_redirects` file here
95
95
```
@@ -104,7 +104,7 @@ body:
104
104
value: |
105
105
<details>
106
106
<summary>`next.config.js`</summary>
107
-
107
+
108
108
```toml
109
109
# Paste content of your `next.config.js` file here. Check there is no private info in there.
110
110
```
@@ -118,7 +118,7 @@ body:
118
118
value: |
119
119
<details>
120
120
<summary>Build logs</summary>
121
-
121
+
122
122
```
123
123
# Paste logs here
124
124
```
@@ -133,7 +133,7 @@ body:
133
133
value: |
134
134
<details>
135
135
<summary>Function logs</summary>
136
-
136
+
137
137
```
138
138
# Paste logs here
139
139
```
@@ -150,7 +150,7 @@ body:
150
150
value: |
151
151
<details>
152
152
<summary>generated .next JSON files</summary>
153
-
153
+
154
154
```
155
155
# Paste file contents here. Please check there isn't any private info in them
156
156
# You can either build locally, or download the deploy from Netlify by clicking the arrow next to the deploy time.
If you build on Netlify, this plugin will work with no additional configuration. However if you are building and
21
+
If you build on Netlify, the Next.js Runtime will work with no additional configuration. However if you are building and
37
22
deploying locally using the Netlify CLI, you must deploy using `netlify deploy --build`. Running the build and deploy
38
-
commands separately will not work, because the plugin will not generate the required configuration.
23
+
commands separately will not work, because the Next.js Runtime will not generate the required configuration.
39
24
40
25
## Using `next/image`
41
26
@@ -55,12 +40,14 @@ may also manually disable the Edge Function by setting the environment variable
55
40
56
41
## Returning custom response headers on images handled by `ipx`
57
42
58
-
Should you wish to return custom response headers on images handled by the [`netlify-ipx`](https://github.com/netlify/netlify-ipx) package, you can add them within your project's `netlify.toml` by targeting the `/_next/image/*` route:
43
+
Should you wish to return custom response headers on images handled by the
44
+
[`netlify-ipx`](https://github.com/netlify/netlify-ipx) package, you can add them within your project's `netlify.toml`
45
+
by targeting the `/_next/image/*` route:
59
46
60
47
```
61
48
[[headers]]
62
49
for = "/_next/image/*"
63
-
50
+
64
51
[headers.values]
65
52
Strict-Transport-Security = "max-age=31536000"
66
53
X-Test = 'foobar'
@@ -69,9 +56,9 @@ Should you wish to return custom response headers on images handled by the [`net
69
56
## Next.js Middleware on Netlify
70
57
71
58
Next.js Middleware works out of the box on Netlify, but check out the
72
-
[docs on some caveats](https://github.com/netlify/netlify-plugin-nextjs/blob/main/docs/middleware.md). By default,
73
-
middleware runs using SSR. For better results, you should enable [Netlify Edge Functions](#netlify-edge-functions),
74
-
which ensures middleware runs at the edge. To use Netlify Edge Functions for middleware or to enable
59
+
[docs on some caveats](https://github.com/netlify/next-runtime/blob/main/docs/middleware.md). By default, middleware
60
+
runs using SSR. For better results, you should enable [Netlify Edge Functions](#netlify-edge-functions), which ensures
61
+
middleware runs at the edge. To use Netlify Edge Functions for middleware or to enable
75
62
[edge server rendering](https://nextjs.org/blog/next-12-2#edge-server-rendering-experimental), set the environment
76
63
variable `NEXT_USE_NETLIFY_EDGE` to `true`.
77
64
@@ -93,16 +80,16 @@ If you are using Nx, then you will need to point `publish` to the folder inside
93
80
94
81
## Incremental Static Regeneration (ISR)
95
82
96
-
The Essential Next.js plugin now fully supports ISR on Netlify. For more details see
Copy file name to clipboardExpand all lines: demos/nx-next-monorepo-demo/README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,6 @@
1
1
# NxNextjsMonorepo
2
2
3
-
This project was generated using [Nx](https://nx.dev). It is a demo site to test that Nx monorepos work properly with the Netlify Essential NextJS plugin.
3
+
This project was generated using [Nx](https://nx.dev). It is a demo site to test that Nx monorepos work properly with the Netlify Next Runtime.
0 commit comments