aboutsummaryrefslogtreecommitdiff
path: root/apps/website/astro.config.ts
blob: b133df8fb6a73042a57969c71e8e026232dbd68d (plain)
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
import tailwind from '@astrojs/tailwind';
import mdx from '@astrojs/mdx';
import sitemap from '@astrojs/sitemap';

import { defineConfig } from 'astro/config';
import postcssNesting from 'tailwindcss/nesting';

// https://astro.build/config
export default defineConfig({
	site: 'https://polyfrost.org',
	integrations: [
		tailwind(),
		mdx(),
		sitemap(),
	],
	vite: {
		css: {
			postcss: {
				plugins: [postcssNesting()],
			},
		},
		ssr: {
			noExternal: ['smartypants'],
		},
	},
});