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.

524 B
Raw Blame
import { defineConfig } from 'vite'
import react from '@vitejs/plugin-react-swc'

export default defineConfig({
  // Hosted at https://three.ws/avatar-studio/ in production — all emitted asset
  // URLs need this prefix. The iframe SDK (avatar-sdk/src/creator.js) loads this
  // base URL directly.
  base: '/avatar-studio/',
  plugins: [react()],
  server: {
    port: 5173,
    host: true,
  },
  build: {
    outDir: './build',
  },
  resolve: {
    dedupe: ['three'],
    alias: {
      buffer: 'buffer/'
    }
  }
})