2024-11-12 14:20:33 -05:00
|
|
|
import { defineConfig } from 'astro/config'
|
2024-06-05 19:48:11 -05:00
|
|
|
|
2024-11-12 14:20:33 -05:00
|
|
|
// Settings
|
|
|
|
import { SiteSettings } from './config.json'
|
2024-06-06 16:51:07 -05:00
|
|
|
|
2024-06-05 19:48:11 -05:00
|
|
|
// Adapters
|
2024-11-12 14:20:33 -05:00
|
|
|
import bun from 'astro-bun-adapter'
|
2024-06-05 19:48:11 -05:00
|
|
|
|
|
|
|
// Integrations
|
2024-11-12 14:20:33 -05:00
|
|
|
import mdx from '@astrojs/mdx'
|
2024-06-05 19:48:11 -05:00
|
|
|
|
2024-11-12 14:20:33 -05:00
|
|
|
// Astro Configuration
|
2024-06-05 19:48:11 -05:00
|
|
|
export default defineConfig({
|
2024-06-07 02:15:10 -05:00
|
|
|
// Information
|
2024-11-12 14:20:33 -05:00
|
|
|
site: SiteSettings.SiteProtocol + '://' + SiteSettings.SiteDomain,
|
|
|
|
base: SiteSettings.SiteBase,
|
2024-06-07 02:15:10 -05:00
|
|
|
// Integrations
|
|
|
|
integrations: [
|
2024-11-12 14:20:33 -05:00
|
|
|
mdx()
|
2024-06-07 02:15:10 -05:00
|
|
|
],
|
|
|
|
// Server Output
|
2024-10-24 13:50:48 -05:00
|
|
|
output: "server",
|
2024-06-05 19:48:11 -05:00
|
|
|
prefetch: true,
|
2024-09-17 23:24:30 -05:00
|
|
|
adapter: bun(),
|
2024-06-05 19:48:11 -05:00
|
|
|
server: {
|
|
|
|
port: 2014,
|
|
|
|
host: true
|
|
|
|
},
|
2024-06-07 02:15:10 -05:00
|
|
|
// Others
|
2024-06-05 19:48:11 -05:00
|
|
|
devToolbar: {
|
|
|
|
enabled: false
|
|
|
|
}
|
2024-11-12 14:20:33 -05:00
|
|
|
})
|