Commit current project

This commit is contained in:
2026-03-29 22:44:13 +02:00
parent b3bccb2ae3
commit 7f9469c07d
77 changed files with 20495 additions and 0 deletions

35
astro.config.mjs Normal file
View File

@@ -0,0 +1,35 @@
import { defineConfig } from 'astro/config';
import react from '@astrojs/react';
import node from '@astrojs/node';
export default defineConfig({
integrations: [react()],
adapter: process.env.NODE_ENV === 'production' ? node({ mode: 'production' }) : node({ mode: 'development' }),
output: 'server',
server: {
host: true,
port: 3000,
allowedHosts: ['mixchat.local'],
},
vite: {
server: {
resolve: {
noExternal: ['fs', 'path', 'url', 'util']
},
host: '0.0.0.0',
allowedHosts: true,
},
build: {
rollupOptions: {
output: {
manualChunks(id) {
if (!id) return;
if (id.includes('/node_modules/react-icons/') || id.includes('\\node_modules\\react-icons\\')) return 'icons';
},
},
},
chunkSizeWarningLimit: 1000,
}
}
});