-
-
Notifications
You must be signed in to change notification settings - Fork 22
Expand file tree
/
Copy pathastro.config.mjs
More file actions
33 lines (32 loc) · 906 Bytes
/
astro.config.mjs
File metadata and controls
33 lines (32 loc) · 906 Bytes
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
// @ts-check
import { defineConfig } from 'astro/config';
import tailwindcss from '@tailwindcss/vite';
import vercel from '@astrojs/vercel';
import react from '@astrojs/react';
import markdoc from '@astrojs/markdoc';
import keystatic from '@keystatic/astro';
import db from '@astrojs/db';
import svelte from '@astrojs/svelte';
// https://astro.build/config
export default defineConfig({
// The `site` property specifies the base URL for your site.
// Be sure to update this to your own domain (e.g., "https://yourdomain.com") before deploying.
site: 'https://data-nova.vercel.app',
prefetch: true,
trailingSlash: 'never',
experimental: {
clientPrerender: true,
},
integrations: [
react(),
markdoc(),
...(process.env.SKIP_KEYSTATIC ? [] : [keystatic()]),
db(),
svelte(),
],
vite: {
plugins: [tailwindcss()],
},
output: 'server',
adapter: vercel(),
});