Skip to content

Commit 8c37f56

Browse files
committed
*coughs*
1 parent 522d038 commit 8c37f56

16 files changed

+358
-117
lines changed

astro.config.mjs

+6-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import { defineConfig } from "astro/config";
2-
import react from "@astrojs/react";
32
import mdx from "@astrojs/mdx";
3+
import preact from "@astrojs/preact";
44

55
// https://astro.build/config
66
export default defineConfig({
77
site: "https://laker.tech",
88
image: {
99
domains: ["cdn.laker.tech"],
1010
},
11-
integrations: [react(), mdx()],
12-
});
11+
integrations: [mdx(), preact()],
12+
prefetch: {
13+
prefetchAll: true
14+
}
15+
});

package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"dependencies": {
1414
"@astrojs/check": "^0.9.3",
1515
"@astrojs/mdx": "^3.1.5",
16+
"@astrojs/preact": "^3.5.2",
1617
"@astrojs/react": "^3.6.2",
1718
"@astrojs/rss": "^4.0.7",
1819
"@types/react": "^18.3.3",
@@ -24,7 +25,7 @@
2425
"h3": "^1.12.0",
2526
"markdown-it": "^14.1.0",
2627
"mdast-util-to-string": "^4.0.0",
27-
"preact": "^10.23.1",
28+
"preact": "^10.23.2",
2829
"prettier": "^3.3.3",
2930
"prettier-plugin-astro": "^0.14.1",
3031
"react": "^18.3.1",

0 commit comments

Comments
 (0)