Add Netlify adapter to Astro configuration for deployment support

This commit is contained in:
becarta
2025-05-14 00:21:05 +02:00
parent 93e66eb5df
commit 71c674392b

View File

@@ -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"],