Skip to content

Commit 8b6c1cb

Browse files
Apply suggestions from code review
Co-authored-by: Kyle Rollins <kyleblankrollins@gmail.com>
1 parent 0b1e7ef commit 8b6c1cb

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +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 should be installed automatically for new Next.js sites on Netlify. You can also install it manually like
21+
The plugin installs automatically for new Next.js sites on Netlify. You can also install it manually like
2222
this:
2323

2424
- Install the module:
@@ -27,7 +27,7 @@ this:
2727
npm install -D @netlify/plugin-nextjs
2828
```
2929

30-
...then add it to your `netlify.toml` file:
30+
...then add the plugin to your `netlify.toml` file:
3131

3232
```toml
3333
[[plugins]]
@@ -49,8 +49,10 @@ Change the `publish` directory to `.next`:
4949
publish = ".next"
5050
```
5151

52-
If you previously set a custom `distDir` in your `next.config.js`, or set `node_bundler = "esbuild"` or
53-
`external_node_modules` in your `netlify.toml` these are no longer needed and can be removed.
52+
If you previously set these values, they're no longer needed and can be removed:
53+
- `distDir` in your `next.config.js`
54+
- `node_bundler = "esbuild"` in `netlify.toml`
55+
- `external_node_modules` in `netlify.toml`
5456

5557
The `serverless` and `experimental-serverless-trace` targets are deprecated in Next 12, and all builds with this plugin
5658
will now use the default `server` target. If you previously set the target in your `next.config.js`, you should remove

0 commit comments

Comments
 (0)