Skip to content

Commit 157bbdc

Browse files
committed
review feedback
1 parent 9b50561 commit 157bbdc

File tree

2 files changed

+11
-14
lines changed

2 files changed

+11
-14
lines changed

docs/01-app/02-guides/custom-server.mdx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -87,17 +87,17 @@ const app = next({})
8787

8888
The above `next` import is a function that receives an object with the following options:
8989

90-
| Option | Type | Description |
91-
| ------------------- | ------------------ | ----------------------------------------------------------------------------------- |
92-
| `conf` | `Object` | The same object you would use in `next.config.js`. Defaults to `{}` |
93-
| `dev` | `Boolean` | (_Optional_) Whether or not to launch Next.js in dev mode. Defaults to `false` |
94-
| `dir` | `String` | (_Optional_) Location of the Next.js project. Defaults to `'.'` |
95-
| `quiet` | `Boolean` | (_Optional_) Hide error messages containing server information. Defaults to `false` |
96-
| `hostname` | `String` | (_Optional_) The hostname the server is running behind |
97-
| `port` | `Number` | (_Optional_) The port the server is running behind |
98-
| `httpServer` | `node:http#Server` | (_Optional_) The HTTP Server that Next.js is running behind |
99-
| `turbopack`/`turbo` | `Boolean` | (_Optional_) Enable Turbopack (enabled by default) |
100-
| `webpack` | `Boolean` | (_Optional_) Enable webpack |
90+
| Option | Type | Description |
91+
| ------------ | ------------------ | ----------------------------------------------------------------------------------- |
92+
| `conf` | `Object` | The same object you would use in `next.config.js`. Defaults to `{}` |
93+
| `dev` | `Boolean` | (_Optional_) Whether or not to launch Next.js in dev mode. Defaults to `false` |
94+
| `dir` | `String` | (_Optional_) Location of the Next.js project. Defaults to `'.'` |
95+
| `quiet` | `Boolean` | (_Optional_) Hide error messages containing server information. Defaults to `false` |
96+
| `hostname` | `String` | (_Optional_) The hostname the server is running behind |
97+
| `port` | `Number` | (_Optional_) The port the server is running behind |
98+
| `httpServer` | `node:http#Server` | (_Optional_) The HTTP Server that Next.js is running behind |
99+
| `turbopack` | `Boolean` | (_Optional_) Enable Turbopack (enabled by default) |
100+
| `webpack` | `Boolean` | (_Optional_) Enable webpack |
101101

102102
The returned `app` can then be used to let Next.js handle requests as required.
103103

docs/01-app/02-guides/migrating/from-create-react-app.mdx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -528,9 +528,6 @@ const nextConfig: NextConfig = {
528528

529529
### Custom Webpack
530530

531-
If you had a custom webpack configuration in CRA, you can extend Next.js’s config in `next.config.ts`:
532-
### Custom Webpack / Babel Config
533-
534531
If you had a custom webpack or Babel configuration in CRA, you can extend Next.js’s config in `next.config.ts`:
535532

536533
```ts filename="next.config.ts"

0 commit comments

Comments
 (0)