/
astro.config.ts
54 lines (52 loc) · 1.18 KB
/
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import tailwind from "@astrojs/tailwind";
import metaTags from "astro-meta-tags";
import { defineConfig } from "astro/config";
import pageInsight from "astro-page-insight";
// https://astro.build/config
export default defineConfig({
site: "https://teaclient.net",
server: {
port: 7053,
},
integrations: [
mdx(),
metaTags(),
sitemap({
filter: (page) =>
page !== `${import.meta.env.SITE}/staffhandbook-13-4-24`,
customPages: ["docs.teaclient.net"],
}),
tailwind({
nesting: true,
applyBaseStyles: true,
}),
pageInsight(),
],
redirects: {
// Resources
"/discord": "https://discord.gg/ejFTe4Hfnc",
"/github": "https://github.com/TeaClientMC",
"/roadmap": "https://github.com/orgs/TeaClientMC/projects/3",
// Partner Networks
"/dropps": "https://discord.gg/qFarXHT32J",
// Easter-Eggs
"/klaas": "https://klaas.tiiny.site/",
},
vite: {
resolve: {
alias: {
"@layout": "src/layouts",
"@component": "src/components",
"@scripts": "src/scripts",
"@styles": "src/styles",
"@assets": "src/assets",
},
},
build: {
minify: true,
sourcemap: false,
},
},
});