butterflyvu/astro.config.mjs

31 lines
632 B
JavaScript
Raw Normal View History

import { defineConfig } from 'astro/config'
2024-06-05 19:48:11 -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
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
// Astro Configuration
2024-06-05 19:48:11 -05:00
export default defineConfig({
// Information
site: SiteSettings.SiteProtocol + '://' + SiteSettings.SiteDomain,
base: SiteSettings.SiteBase,
// Integrations
integrations: [
2024-11-14 23:52:50 -05:00
mdx(),
pagefind()
],
// 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
},
// Others
2024-06-05 19:48:11 -05:00
devToolbar: {
enabled: false
}
})