Skip to content

Commit ddbc40a

Browse files
committed
chore: add ISR link
1 parent 8b6c1cb commit ddbc40a

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

README.md

+7-4
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ Version 4 is a complete rewrite of the Essential Next.js plugin. For full detail
1818

1919
## Installing the plugin
2020

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:
2522

2623
```shell
2724
npm install -D @netlify/plugin-nextjs
@@ -50,6 +47,7 @@ publish = ".next"
5047
```
5148

5249
If you previously set these values, they're no longer needed and can be removed:
50+
5351
- `distDir` in your `next.config.js`
5452
- `node_bundler = "esbuild"` in `netlify.toml`
5553
- `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
7371

7472
If you are using Nx, then you will need to point `publish` to the folder inside `dist`, e.g. `dist/apps/myapp/.next`.
7573

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+
7679
## Feedback
7780

7881
If you think you have found a bug in the plugin,

0 commit comments

Comments
 (0)