0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-03-10 23:01:26 -05:00

Fix examples smoke test fail (#8923)

This commit is contained in:
Bjorn Lu 2023-10-26 19:13:43 +08:00 committed by GitHub
parent be0ab6c28a
commit 03eab97377

View file

@ -553,12 +553,12 @@
```js
import { defineConfig } from 'astro/config';
export defaultdefineConfig({
export default defineConfig({
output: 'hybrid',
experimental: {
hybridOutput: true,
},
})
});
```
Then add `export const prerender = false` to any page or endpoint you want to opt-out of pre-rendering.