Files
finance/astro.config.mjs
GitHub Copilot 7e5ed585f7 feat: add testing infrastructure and improve component feedback
- Added React testing setup with JSDOM
- Added component tests for AddTransactionForm and TransactionTable
- Improved error handling and success messages in components
- Updated test configuration and dependencies
- Added CSS for error and success states
2025-05-05 17:41:39 +00:00

21 lines
391 B
JavaScript

// @ts-check
import { defineConfig } from 'astro/config';
import node from '@astrojs/node';
import react from '@astrojs/react';
// https://astro.build/config
export default defineConfig({
output: 'server',
adapter: node({
mode: 'standalone',
}),
integrations: [react()],
vite: {
ssr: {
noExternal: ['react-dom/server', 'react-dom/server.browser'],
},
},
});