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