File tree 1 file changed +7
-4
lines changed
1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -18,10 +18,7 @@ Version 4 is a complete rewrite of the Essential Next.js plugin. For full detail
18
18
19
19
## Installing the plugin
20
20
21
- The plugin installs automatically for new Next.js sites on Netlify. You can also install it manually like
22
- this:
23
-
24
- - Install the module:
21
+ The plugin installs automatically for new Next.js sites on Netlify. You can also install it manually like this:
25
22
26
23
``` shell
27
24
npm install -D @netlify/plugin-nextjs
@@ -50,6 +47,7 @@ publish = ".next"
50
47
```
51
48
52
49
If you previously set these values, they're no longer needed and can be removed:
50
+
53
51
- ` distDir ` in your ` next.config.js `
54
52
- ` node_bundler = "esbuild" ` in ` netlify.toml `
55
53
- ` external_node_modules ` in ` netlify.toml `
@@ -73,6 +71,11 @@ which may be in a subdirectory. If you have changed your `distDir` then it will
73
71
74
72
If you are using Nx, then you will need to point ` publish ` to the folder inside ` dist ` , e.g. ` dist/apps/myapp/.next ` .
75
73
74
+ ## Incremental Static Regeneration (ISR)
75
+
76
+ The Essential Next.js plugin now fully supports ISR on Netlify. For more details see
77
+ [ the ISR docs] ( https://github.com/netlify/netlify-plugin-nextjs/blob/main/docs/isr.md ) .
78
+
76
79
## Feedback
77
80
78
81
If you think you have found a bug in the plugin,
You can’t perform that action at this time.
0 commit comments