1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 23:33:54 +00:00
butterflyvu/astro.config.mjs

38 lines
693 B
JavaScript
Raw Normal View History

2024-06-06 00:48:11 +00:00
import { defineConfig } from 'astro/config';
2024-09-18 03:07:39 +00:00
import vue from '@astrojs/vue';
2024-06-06 00:48:11 +00:00
// Environment Variables
import {
SITE_PROTOCOL,
SITE_DOMAIN,
SITE_BASE
} from './src/utils/GetConfig'
2024-06-06 21:51:07 +00:00
2024-06-06 00:48:11 +00:00
// Adapters
2024-09-18 04:24:30 +00:00
import bun from 'astro-bun-adapter';
2024-06-06 00:48:11 +00:00
// Integrations
import mdx from '@astrojs/mdx';
export default defineConfig({
// Information
2024-06-06 21:51:07 +00:00
site: SITE_PROTOCOL + '://' + SITE_DOMAIN,
base: SITE_BASE,
// Integrations
integrations: [
mdx(),
2024-10-24 18:50:48 +00:00
vue()
],
// 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
},
// Others
2024-06-06 00:48:11 +00:00
devToolbar: {
enabled: false
}
});