-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathastro.config.mjs
36 lines (35 loc) · 1.17 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
import { defineConfig } from 'astro/config';
import db from '@astrojs/db';
import preact from '@astrojs/preact';
import sitemap from '@astrojs/sitemap';
import tailwind from '@astrojs/tailwind';
import vercel from '@astrojs/vercel';
// https://astro.build/config
export default defineConfig({
output: 'static',
adapter: vercel({
imageService: true,
webAnalytics: {
enabled: true
}
}),
site: 'https://whiskey.fm',
integrations: [
db(),
preact(),
sitemap(),
tailwind({
applyBaseStyles: false,
nesting: true
})
],
// These were specific redirects we needed for our podcast, if you do not have any routes to redirect, you can safely remove this.
redirects: {
'/hot-takes-tan-stack-and-open-source-with-tanner-linsley':
'/hot-takes-tanstack-and-open-source-with-tanner-linsley',
'/creating-code-pen-tackling-tailwind-and-keeping-it-simple-with-chris-coyier':
'creating-codepen-tackling-tailwind-and-keeping-it-simple-with-chris-coyier',
'/coding-languages-ai-and-the-evolution-of-game-development-with-phillip-winston':
'/coding-languages-ai-and-the-evolution-of-game-development-with-philip-winston'
}
});