-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
36 lines (34 loc) · 975 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
35
36
import mdx from "@astrojs/mdx"
import react from "@astrojs/react"
import sitemap from "@astrojs/sitemap"
import tailwind from "@astrojs/tailwind"
import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections"
import { pluginLineNumbers } from "@expressive-code/plugin-line-numbers"
import expressiveCode from "astro-expressive-code"
import { defineConfig } from "astro/config"
import robotsTxt from "astro-robots-txt"
// https://astro.build/config
export default defineConfig({
output: "static",
prefetch: true,
site: "https://astro-air-bento.netlify.app",
vite: {
worker: {
plugins: () => [],
},
},
integrations: [
react(),
tailwind(),
sitemap(),
expressiveCode({
plugins: [pluginCollapsibleSections(), pluginLineNumbers()],
themes: ["material-theme-lighter", "material-theme-darker"],
defaultProps: {
showLineNumbers: true,
},
}),
mdx(),
robotsTxt(),
],
})