-
Notifications
You must be signed in to change notification settings - Fork 1
/
astro.config.ts
29 lines (29 loc) · 961 Bytes
/
astro.config.ts
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
import { defineConfig } from 'astro/config';
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import { remarkModifiedTime } from "./src/utils/modified-time.mjs";
import { remarkReadingTime } from "./src/utils/reading-time.mjs";
import cloudflare from "@astrojs/cloudflare";
import embed from "astro-embed/integration";
import remarkDirective from "remark-directive";
import astroStarlightRemarkAsides from "./src/utils/aside.mjs";
export default defineConfig({
site: "https://ishankbg.dev",
prefetch: true,
integrations: [tailwind(), sitemap(), embed(), mdx({
shikiConfig: {
theme: 'vitesse-dark',
wrap: true
},
gfm: true,
remarkPlugins: [remarkModifiedTime, remarkReadingTime, remarkDirective, astroStarlightRemarkAsides],
})],
image: {
domains: ['images.unsplash.com', 'cdn.discordapp.com']
},
output: "hybrid",
adapter: cloudflare({
imageService: "compile",
}),
});