@@ -87,17 +87,17 @@ const app = next({})
87
87
88
88
The above ` next ` import is a function that receives an object with the following options:
89
89
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 |
101
101
102
102
The returned ` app ` can then be used to let Next.js handle requests as required.
103
103
0 commit comments