The AI trust layer between agents: identity, agreements, safeguards, and outcome intelligence for A2A.

Viewing files at commit bd8b77ebf65aCommit detailsView latest

apps/dashboard/vite.config.ts 19 lines · 532 B · typescript
1
import { defineConfig, loadEnv } from 'vite';
2
import react from '@vitejs/plugin-react';
3
4
export default defineConfig(({ mode }) => {
5
  const env = loadEnv(mode, process.cwd(), '');
6
  return {
7
    root: 'apps/dashboard',
8
    plugins: [react()],
9
    define: {
10
      __CLERK_PUBLISHABLE_KEY__: JSON.stringify(
11
        process.env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY ??
12
          env.NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY ??
13
          '',
14
      ),
15
    },
16
    server: { port: 5173 },
17
    build: { outDir: 'dist', emptyOutDir: true },
18
  };
19
});