From 81f637b317ca153c7b03e0e1843b55240a711bea Mon Sep 17 00:00:00 2001 From: Richard Bergsma Date: Wed, 18 Jun 2025 22:06:40 +0200 Subject: [PATCH] Refactor Astro configuration: remove server adapter and streamline integrations. Update Tailwind CSS plugin setup. --- astro.config.mjs | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index 25c426b..9512ab2 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -2,22 +2,14 @@ import { defineConfig } from 'astro/config'; import tailwindcss from '@tailwindcss/vite'; + import react from '@astrojs/react'; -import node from '@astrojs/node'; // ✅ Required for SSR build // https://astro.build/config export default defineConfig({ - output: 'server', // ✅ Use server mode to generate dist/server/entry.mjs - - adapter: node({ - mode: 'standalone', // ✅ Ensures entry.mjs includes everything needed - }), - - integrations: [ - react() - ], - vite: { plugins: [tailwindcss()] - } + }, + + integrations: [react()] }); \ No newline at end of file