1
0
Fork 0
mirror of https://ark.sudovanilla.org/Korbs/butterflyvu.git synced 2024-12-22 15:23:54 +00:00
butterflyvu/astro.config.mjs
2024-06-06 17:51:07 -04:00

33 lines
766 B
JavaScript

import { defineConfig } from 'astro/config';
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;
// 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({
site: SITE_PROTOCOL + '://' + SITE_DOMAIN,
base: SITE_BASE,
output: "hybrid",
prefetch: true,
adapter: node({
mode: 'standalone',
}),
integrations: [mdx(), partytown()],
server: {
port: 2014,
host: true
},
devToolbar: {
enabled: false
}
});