From 71c674392b2f54b3b7d7f65ba29d455a84336c85 Mon Sep 17 00:00:00 2001 From: becarta Date: Wed, 14 May 2025 00:21:05 +0200 Subject: [PATCH] Add Netlify adapter to Astro configuration for deployment support --- astro.config.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/astro.config.ts b/astro.config.ts index 455ccc1..e6fd3b5 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -8,6 +8,7 @@ import tailwind from '@astrojs/tailwind'; import mdx from '@astrojs/mdx'; import react from '@astrojs/react'; import partytown from '@astrojs/partytown'; +import netlify from '@astrojs/netlify'; import icon from 'astro-icon'; import compress from 'astro-compress'; import type { AstroIntegration } from 'astro'; @@ -23,6 +24,8 @@ const whenExternalScripts = (items: (() => AstroIntegration) | (() => AstroInteg export default defineConfig({ output: 'server', + adapter: netlify(), + i18n: { locales: ["en", "de", "nl", "fr"],