Skip to content

Open-source platform for 3D AI agents. Turn text or a photo into a rigged, animated GLB avatar, give it an LLM brain, memory and a wallet, and embed it anywhere with one web component. Remote MCP server, x402 payments, Three.js, browser-native.

add agent-voice-chat/packages/core/vite.config.ts

overstepping1a65f5d21fb8
diff --git a/agent-voice-chat/packages/core/vite.config.ts b/agent-voice-chat/packages/core/vite.config.ts
new file mode 100644
index 000000000..d1b31a904
--- /dev/null
+++ b/agent-voice-chat/packages/core/vite.config.ts
@@ -0,0 +1,21 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026 nirholas (https://github.com/nirholas/agent-voice-chat)
+
+import { defineConfig } from 'vite';
+import { resolve } from 'path';
+
+export default defineConfig({
+ build: {
+ lib: {
+ entry: resolve(__dirname, 'src/index.ts'),
+ formats: ['es', 'cjs'],
+ fileName: (format) => format === 'es' ? 'index.js' : 'index.cjs',
+ },
+ rollupOptions: {
+ external: ['socket.io-client'],
+ },
+ minify: false,
+ sourcemap: true,
+ target: 'es2020',
+ },
+});