mirror of
https://github.com/acedanger/finance.git
synced 2025-12-05 14:40:13 -08:00
- updated libraries to further support #14 - feat: Add environment configuration files and update dependencies for Node adapter
24 lines
477 B
JavaScript
24 lines
477 B
JavaScript
// @ts-check
|
|
import { defineConfig } from 'astro/config';
|
|
|
|
import node from '@astrojs/node'; // Import Node adapter
|
|
|
|
import react from '@astrojs/react';
|
|
|
|
// https://astro.build/config
|
|
export default defineConfig({
|
|
output: 'server',
|
|
adapter: node({
|
|
mode: 'standalone'
|
|
}),
|
|
integrations: [react()],
|
|
vite: {
|
|
resolve: {
|
|
alias: {
|
|
'react-dom/server': 'react-dom/server',
|
|
'react-dom/server.browser': 'react-dom/server',
|
|
},
|
|
},
|
|
},
|
|
});
|