-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
34 lines (32 loc) · 893 Bytes
/
astro.config.mjs
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
// https://astro.build/config
import { defineConfig, squooshImageService } from "astro/config";
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import react from "@astrojs/react";
import sitemap from "@astrojs/sitemap";
import partytown from "@astrojs/partytown";
import robotsTxt from "astro-robots-txt";
import icon from "astro-icon";
import lazyLoadPlugin from "rehype-plugin-image-native-lazy-loading";
import { remarkReadingTime } from "./src/utils/all";
export default defineConfig({
site: "https://jeremylondon.com/",
image: {
service: squooshImageService(),
},
markdown: {
syntaxHighlight: "prism",
remarkPlugins: [remarkReadingTime],
rehypePlugins: [lazyLoadPlugin],
extendDefaultPlugins: true,
},
integrations: [
tailwind(),
icon(),
react(),
mdx(),
partytown(),
sitemap(),
robotsTxt(),
],
});