Skip to content

Commit 619c24d

Browse files
committed
static
1 parent 2126f3f commit 619c24d

2 files changed

Lines changed: 769 additions & 745 deletions

File tree

astro.config.mjs

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,19 @@
11
import mdx from "@astrojs/mdx";
22
import react from "@astrojs/react";
33
import tailwind from "@astrojs/tailwind";
4-
import awsAmplify from "astro-aws-amplify";
4+
//import awsAmplify from "astro-aws-amplify";
55
import { defineConfig, passthroughImageService } from "astro/config";
66

7-
87
// https://astro.build/config
98
export default defineConfig({
109
site: "https://recursivezero.com",
11-
prefetch: true,
1210
devToolbar: {
1311
enabled: false
1412
},
1513
experimental: {
1614
svg: true
1715
},
18-
image: {
16+
image: {
1917
service: passthroughImageService()
2018
},
2119
integrations: [
@@ -28,8 +26,14 @@ export default defineConfig({
2826
nesting: true
2927
})
3028
],
31-
adapter: awsAmplify(),
32-
output: "server",
29+
//adapter: node({ mode: "standalone" }),
30+
output: "static",
31+
build: {
32+
format: "directory"
33+
},
34+
prefetch: {
35+
prefetchAll: true
36+
},
3337
style: {
3438
global: true // Ensure global styles are applied
3539
},

0 commit comments

Comments
 (0)