-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathastro.config.mjs
51 lines (43 loc) · 1.12 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
// @ts-check
import { defineConfig } from 'astro/config';
import mdx from '@astrojs/mdx';
import tailwind from '@astrojs/tailwind';
import logoAnimation from './src/integrations/astro-logo-animation.js';
//import netlify from '@astrojs/adapter-netlify';
// https://astro.build/config
export default defineConfig({
site: 'https://studio10b.com',
// Base path if deploying to a subdirectory
// base: '/my-base-path',
integrations: [tailwind(), logoAnimation(), mdx()],
outDir: './dist',
publicDir: './public',
// Server options
server: {
host: '0.0.0.0',
port: 3000
},
// Build options
build: {
format: 'directory',
},
// Markdown options - fixed according to Astro's expected types
markdown: {
syntaxHighlight: 'prism'
},
// Image optimization
image: {
service: {
entrypoint: 'astro/assets/services/sharp'
}
},
// Enable client-side scripts
output: 'server',
// Optional: Add more integrations if needed
// integrations: [
// image(),
// sitemap(),
// ],
// Optional: Add SSR adapter for deployment to specific platforms
//adapter: netlify()
});