-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathastro.config.mjs
More file actions
30 lines (29 loc) · 1.08 KB
/
astro.config.mjs
File metadata and controls
30 lines (29 loc) · 1.08 KB
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
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';
import tailwindcss from '@tailwindcss/vite';
export default defineConfig({
site: 'https://rnrcli.io',
output: 'static',
vite: {
plugins: [tailwindcss()]
},
integrations: [
mdx(),
sitemap()
],
markdown: {
shikiConfig: {
theme: 'github-dark',
wrap: true
}
},
redirects: {
'/docs': '/docs/getting-started',
'/latest/rnr-linux-amd64': 'https://github.com/CodingWithCalvin/rnr.cli/releases/latest/download/rnr-linux-amd64',
'/latest/rnr-macos-amd64': 'https://github.com/CodingWithCalvin/rnr.cli/releases/latest/download/rnr-macos-amd64',
'/latest/rnr-macos-arm64': 'https://github.com/CodingWithCalvin/rnr.cli/releases/latest/download/rnr-macos-arm64',
'/latest/rnr-windows-amd64.exe': 'https://github.com/CodingWithCalvin/rnr.cli/releases/latest/download/rnr-windows-amd64.exe',
'/latest/rnr-windows-arm64.exe': 'https://github.com/CodingWithCalvin/rnr.cli/releases/latest/download/rnr-windows-arm64.exe',
}
});