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
|
|
|
// Integrations
|
2024-11-12 14:20:33 -05:00
|
|
|
import mdx from '@astrojs/mdx'
|
2024-11-14 23:52:50 -05:00
|
|
|
import pagefind from "astro-pagefind"
|
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-14 23:52:50 -05:00
|
|
|
mdx(),
|
|
|
|
pagefind()
|
2024-06-07 02:15:10 -05:00
|
|
|
],
|
|
|
|
// Server Output
|
2024-11-12 17:03:52 -05:00
|
|
|
output: "static",
|
2024-06-05 19:48:11 -05:00
|
|
|
prefetch: true,
|
|
|
|
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
|
|
|
})
|