Neue services

This commit is contained in:
2026-03-25 20:07:27 -05:00
parent 42e0971a13
commit bcf9dc541c
85 changed files with 8589 additions and 4832 deletions

View File

@@ -1,29 +1,24 @@
import path from 'path';
import { defineConfig, loadEnv } from 'vite';
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
export default defineConfig(({ mode }) => {
const env = loadEnv(mode, '.', '');
export default defineConfig(() => {
return {
server: {
port: 3012,
host: '0.0.0.0',
hmr: {
clientPort: 3012,
},
watch: {
usePolling: true,
},
},
server: {
port: 3012,
host: '0.0.0.0',
hmr: {
clientPort: 3012,
},
watch: {
usePolling: true,
},
},
plugins: [react()],
define: {
'process.env.API_KEY': JSON.stringify(env.GEMINI_API_KEY),
'process.env.GEMINI_API_KEY': JSON.stringify(env.GEMINI_API_KEY)
},
resolve: {
alias: {
'@': path.resolve(__dirname, '.'),
}
}
};
});
resolve: {
alias: {
'@': path.resolve(__dirname, '.'),
}
}
};
});