skyfalldev/astro.config.mjs

24 lines
668 B
JavaScript
Raw Permalink Normal View History

2024-07-06 11:56:31 +00:00
import { defineConfig } from "astro/config";
import mdx from "@astrojs/mdx";
import sitemap from "@astrojs/sitemap";
2024-07-06 11:00:38 +00:00
import tailwind from "@astrojs/tailwind";
2024-07-14 13:14:14 +00:00
import sentry from '@sentry/astro';
import "dotenv/config"
2024-07-06 11:00:38 +00:00
2024-07-13 19:33:01 +00:00
import svelte from "@astrojs/svelte";
2024-07-06 11:00:34 +00:00
// https://astro.build/config
export default defineConfig({
2024-07-14 13:14:14 +00:00
site: process.env.SITE,
integrations: [mdx(), sitemap(), tailwind(), svelte(), sentry({
dsn: process.env.SENTRY_DSN,
sourceMapsUploadOptions: {
project: process.env.SENTRY_PROJECT_SLUG,
authToken: process.env.SENTRY_AUTH_TOKEN
}
})],
2024-07-14 11:55:14 +00:00
/* output: "hybrid", // or 'server'
experimental: {
actions: true,
2024-07-14 11:55:14 +00:00
}, */
2024-07-13 19:33:01 +00:00
});