forked from markhorn-dev/astro-sphere
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
28 lines (26 loc) · 839 Bytes
/
astro.config.mjs
File metadata and controls
28 lines (26 loc) · 839 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
import mdx from "@astrojs/mdx"
import sitemap from "@astrojs/sitemap"
import solidJs from "@astrojs/solid-js"
import tailwind from "@astrojs/tailwind"
import { defineConfig } from "astro/config"
import partytown from "@astrojs/partytown"
// https://astro.build/config
export default defineConfig({
site: "https://ryan.dev.br",
integrations: [
mdx(),
sitemap(),
solidJs(),
tailwind({ applyBaseStyles: false }),
partytown({ config: { forward: ['dataLayer.push'] } })
],
i18n: {
locales: ["pt-br", "en"],
defaultLocale: "en",
routing: {
prefixDefaultLocale: true, // Ensures that your default locale is prefixed aswell
},
},
// TODO: Add support do Mermaid into blog markdown
// READ: https://dev.to/fkurz/extending-astrojs-markdown-processing-with-remark-and-rehype-plugins-m1k
})