0
Fork 0
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:
Benjamin Geets 2022-10-13 21:30:31 +02:00 committed by GitHub
parent 9e041f464c
commit 984bc7d0de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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.
```js
import { defineConfig } from 'astro/config';
import nodejs from '@astrojs/node';
import node from '@astrojs/node';
export default defineConfig({
output: 'server',