Skip to content

Commit fafd861

Browse files
committed
Scaffold preact
1 parent 05176bd commit fafd861

File tree

6 files changed

+679
-1
lines changed

6 files changed

+679
-1
lines changed

astro.config.mjs

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// @ts-check
22
import { rehypeHeadingIds } from '@astrojs/markdown-remark';
3+
import preact from '@astrojs/preact';
34
import starlight from '@astrojs/starlight';
45
import { defineConfig } from 'astro/config';
56
import { remarkDefinitionList, defListHastHandlers } from 'remark-definition-list';
@@ -10,6 +11,7 @@ import starlightLinksValidator from 'starlight-links-validator';
1011
// https://astro.build/config
1112
export default defineConfig({
1213
integrations: [
14+
preact(),
1315
starlight({
1416
title: 'xivapi',
1517
favicon: '/favicon.ico',

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,10 @@
2020
},
2121
"dependencies": {
2222
"@astrojs/markdown-remark": "^6.0.2",
23+
"@astrojs/preact": "^4.0.3",
2324
"@astrojs/starlight": "^0.31.0",
2425
"astro": "^5.1.5",
26+
"preact": "^10.25.4",
2527
"rehype-autolink-headings": "^7.1.0",
2628
"rehype-widont": "^0.1.1",
2729
"remark-definition-list": "^2.0.0",

0 commit comments

Comments
 (0)