mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
doc(node): fix import (#5079)
This commit is contained in:
parent
9e041f464c
commit
984bc7d0de
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ Controls whether the adapter builds to `middleware` or `standalone` mode.
|
||||||
- `middleware` mode allows the built output to be used as middleware for another Node.js server, like Express.js or Fastify.
|
- `middleware` mode allows the built output to be used as middleware for another Node.js server, like Express.js or Fastify.
|
||||||
```js
|
```js
|
||||||
import { defineConfig } from 'astro/config';
|
import { defineConfig } from 'astro/config';
|
||||||
import nodejs from '@astrojs/node';
|
import node from '@astrojs/node';
|
||||||
|
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
output: 'server',
|
output: 'server',
|
||||||
|
|
Loading…
Reference in a new issue