-
Notifications
You must be signed in to change notification settings - Fork 0
/
astro.config.ts
40 lines (39 loc) · 924 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
30
31
32
33
34
35
36
37
38
39
40
import { defineConfig, sharpImageService } from "astro/config";
import mdx from "@astrojs/mdx";
import tailwind from "@astrojs/tailwind";
import sitemap from "@astrojs/sitemap";
import prefetch from "@astrojs/prefetch";
import remarkUnwrapImages from "remark-unwrap-images";
// https://astro.build/config
export default defineConfig({
// ! Please remember to replace the following site property with your own domain
site: "https://astro-theme-cactus.netlify.app/",
markdown: {
remarkPlugins: [remarkUnwrapImages],
shikiConfig: {
theme: "dracula",
wrap: true,
},
},
experimental: {
assets: true,
},
image: {
// https://docs.astro.build/en/guides/assets/#using-sharp
service: sharpImageService(),
},
integrations: [
mdx({}),
tailwind({
applyBaseStyles: false,
}),
sitemap(),
prefetch(),
],
compressHTML: true,
vite: {
optimizeDeps: {
exclude: ["@resvg/resvg-js"],
},
},
});