-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
40 lines (38 loc) · 938 Bytes
/
astro.config.mjs
File metadata and controls
40 lines (38 loc) · 938 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
import mdx from "@astrojs/mdx";
import node from "@astrojs/node";
import preact from "@astrojs/preact";
import svelte from "@astrojs/svelte";
import icon from "astro-icon";
import { defineConfig } from "astro/config";
import { rehypeAccessibleEmojis } from "rehype-accessible-emojis";
import remarkGFM from "remark-gfm";
import remarkTOC from "remark-toc";
import expressiveCode from "astro-expressive-code";
// https://astro.build/config
export default defineConfig({
output: "server",
security: {
checkOrigin: true,
},
site: "https://fasharp.io",
markdown: {
remarkPlugins: [remarkGFM, remarkTOC],
rehypePlugins: [rehypeAccessibleEmojis],
},
integrations: [
preact(),
svelte(),
icon({
include: {
"fa6-regular": ["*"],
"fa6-brands": ["*"],
"fa6-solid": ["*"],
},
}),
expressiveCode(),
mdx(),
],
adapter: node({
mode: "standalone",
}),
});