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