Update Astro configuration to switch from Netlify to Node adapter and update dependencies
- Replace Netlify adapter with Node adapter in astro.config.ts for standalone mode. - Update package.json to reflect the new dependency on @astrojs/node. - Modify package-lock.json to include updated versions of dependencies and remove Netlify-specific configurations from the contact form.
This commit is contained in:
@@ -8,7 +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 node from '@astrojs/node';
|
||||
import icon from 'astro-icon';
|
||||
import compress from 'astro-compress';
|
||||
import type { AstroIntegration } from 'astro';
|
||||
@@ -24,7 +24,7 @@ const whenExternalScripts = (items: (() => AstroIntegration) | (() => AstroInteg
|
||||
|
||||
export default defineConfig({
|
||||
output: 'server',
|
||||
adapter: netlify(),
|
||||
adapter: node({ mode: 'standalone' }),
|
||||
|
||||
|
||||
i18n: {
|
||||
|
Reference in New Issue
Block a user