33 lines
No EOL
643 B
JavaScript
Executable file
33 lines
No EOL
643 B
JavaScript
Executable file
import { defineConfig } from 'astro/config'
|
|
|
|
// Settings
|
|
import { SiteSettings } from './config.json'
|
|
|
|
// Adapters
|
|
import bun from 'astro-bun-adapter'
|
|
|
|
// Integrations
|
|
import mdx from '@astrojs/mdx'
|
|
|
|
// Astro Configuration
|
|
export default defineConfig({
|
|
// Information
|
|
site: SiteSettings.SiteProtocol + '://' + SiteSettings.SiteDomain,
|
|
base: SiteSettings.SiteBase,
|
|
// Integrations
|
|
integrations: [
|
|
mdx()
|
|
],
|
|
// Server Output
|
|
output: "server",
|
|
prefetch: true,
|
|
adapter: bun(),
|
|
server: {
|
|
port: 2014,
|
|
host: true
|
|
},
|
|
// Others
|
|
devToolbar: {
|
|
enabled: false
|
|
}
|
|
}) |