butterflyvu/astro.config.mjs

33 lines
766 B
JavaScript
Raw Normal View History

2024-06-05 19:48:11 -05:00
import { defineConfig } from 'astro/config';
2024-06-06 16:51:07 -05:00
const SITE_NAME = import.meta.env.SITE_NAME;
const SITE_PROTOCOL = import.meta.env.SITE_PROTOCOL;
const SITE_DOMAIN = import.meta.env.SITE_DOMAIN;
const SITE_BASE = import.meta.env.SITE_BASE;
2024-06-05 19:48:11 -05:00
// Adapters
import node from '@astrojs/node';
// Integrations
import keystatic from '@keystatic/astro';
import mdx from '@astrojs/mdx';
import partytown from '@astrojs/partytown';
export default defineConfig({
2024-06-06 16:51:07 -05:00
site: SITE_PROTOCOL + '://' + SITE_DOMAIN,
base: SITE_BASE,
2024-06-05 19:48:11 -05:00
output: "hybrid",
prefetch: true,
adapter: node({
mode: 'standalone',
}),
integrations: [mdx(), partytown()],
server: {
port: 2014,
host: true
},
devToolbar: {
enabled: false
}
});