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 xspace-agent/vite.config.ts

overstepping1393bba1fba6
diff --git a/xspace-agent/vite.config.ts b/xspace-agent/vite.config.ts
new file mode 100644
index 000000000..27280668c
--- /dev/null
+++ b/xspace-agent/vite.config.ts
@@ -0,0 +1,24 @@
+// SPDX-License-Identifier: Apache-2.0
+// Copyright 2026 nirholas (https://github.com/nirholas/xspace-agent) [§73]
+
+import { defineConfig } from "vite"
+import path from "path"
+
+export default defineConfig({
+ publicDir: false,
+ build: {
+ outDir: "dist/client",
+ rollupOptions: {
+ input: {
+ agent: path.resolve(__dirname, "src/client/bootstrap.ts"),
+ },
+ output: {
+ entryFileNames: "[name].js",
+ chunkFileNames: "[name].js",
+ assetFileNames: "[name][extname]",
+ },
+ },
+ },
+})
+
+