mirror of
https://github.com/hanzoai/computer.git
synced 2026-09-30 20:55:46 +00:00
Hanzo CI/CD / cicd (push) Failing after 31m1s
CI/CD / cicd (push) Failing after 31m1s
src/lib/email.ts is the server half: it imports a mail transport that is in no dependency list, so pulling it into the client graph fails resolution during the build. email-client.ts wants five type names from it and now says so. vite.config.ts also defined process.env.API_KEY and GEMINI_API_KEY from the environment. No module reads either, so the defines only put a third-party key into the bundle when one is set. Co-authored-by: Hanzo Dev <[email protected]>
19 lines
329 B
TypeScript
19 lines
329 B
TypeScript
import path from 'path';
|
|
import { defineConfig } from 'vite';
|
|
import react from '@vitejs/plugin-react';
|
|
|
|
export default defineConfig({
|
|
base: '/',
|
|
server: {
|
|
port: 3690,
|
|
host: '0.0.0.0',
|
|
strictPort: true,
|
|
},
|
|
plugins: [react()],
|
|
resolve: {
|
|
alias: {
|
|
'@': path.resolve(__dirname, '.'),
|
|
},
|
|
},
|
|
});
|