-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
31 lines (29 loc) · 790 Bytes
/
Copy pathastro.config.mjs
File metadata and controls
31 lines (29 loc) · 790 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
import partytown from "@astrojs/partytown";
import prefetch from "@astrojs/prefetch";
import sitemap from "@astrojs/sitemap";
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
import { defineConfig } from "astro/config";
import { remarkReadingTime } from "./markdownPlugins/remarkReadingTime.mjs";
import tokyoNight from "./markdownPlugins/tokyo-night-color-theme.json";
// https://astro.build/config
export default defineConfig({
site: "https://blakez.dev",
integrations: [
partytown({
config: {
forward: ["dataLayer.push"],
},
}),
prefetch(),
sitemap(),
],
vite: {
plugins: [vanillaExtractPlugin()],
},
markdown: {
remarkPlugins: [remarkReadingTime],
shikiConfig: {
theme: tokyoNight,
},
},
});