-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathastro.config.mjs
65 lines (59 loc) · 2.35 KB
/
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
import { defineConfig } from "astro/config";
import tailwind from "@astrojs/tailwind";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
import embeds from "astro-embed/integration";
import sentry from "@sentry/astro";
import spotlightjs from "@spotlightjs/astro";
import expressiveCode from "astro-expressive-code";
import { pluginCollapsibleSections } from "@expressive-code/plugin-collapsible-sections";
import react from "@astrojs/react";
import icon from "astro-icon";
import netlify from "@astrojs/netlify";
// https://astro.build/config
export default defineConfig({
site:
process.env.NODE_ENV === "development"
? "http://localhost:4321"
: "https://techsquidtv.com",
integrations: [
react(),
tailwind(),
sitemap(),
embeds(),
expressiveCode({
plugins: [pluginCollapsibleSections()],
}),
mdx(),
sentry(),
spotlightjs(),
icon(),
],
redirects: {
"/blog/Choosing_a_standing_desk": "/blog/choosing-a-standing-desk",
"/blog/Chrome_media_keys": "/blog/chrome-media-keys",
"/blog/Ditching_WordPress":
"/blog/ditching-wordpress-for-nuxtjs-and-netlify",
"/blog/Facebook_already_created_Garrys_mod_vr":
"/blog/facebook-already-created-garrys-mod-vr",
"/blog/How_to_Docker_Compose":
"/blog/learning-docker-compose-with-wordpress",
"/blog/How_to_speed_test_your_vps": "/blog/how-to-speed-test-your-vps",
"/blog/Kubernetes_in_10_minutes": "/blog/kubernetes-in-10-minutes",
"/blog/Making_your_own_home_media_server_with_plex_and_Docker-Compose":
"/blog/making-a-home-media-server-with-plex-and-docker-compose",
"/blog/Synology_ds920plus_nas": "/blog/synology-ds920plus-nas",
"/blog/Testing_shell_scripts_with_bats":
"/blog/testing-shell-scripts-with-bats",
"/blog/The_Windows_Ugly_Sweater": "/blog/the-windows-ugly-sweater",
"/blog/What_Is_Docker": "/blog/what-is-docker",
"/blog/Will_We_Ever_Be_Able_To_Download_Our_Brains_Like_In_Westworld":
"/blog/will-we-ever-be-able-to-download-our-brains-like-in-westworld",
"/blog/Fixing_an_ugly_terminal": "/blog/your-terminal-is-ugly",
"/blog/tags": "/blog",
"/services/": "/services/devrel",
"/blog/where-in-the-world-is-static-shock-for-gba":"https://lostpixellore.com/blog/where-in-the-world-is-static-shock-for-gba",
},
output: "static",
adapter: netlify(),
});