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.

fix: minor home.html and vite.config tweaks

nirholas4fd6bf7416a5
diff --git a/pages/home.html b/pages/home.html
index f5fd65fab..6dc900c9a 100644
--- a/pages/home.html
+++ b/pages/home.html
@@ -4814,7 +4814,7 @@
})();
</script>
<script src="/src/api-playground.js"></script>
-<script src="/dragon-section.js"></script>
+<script type="module" src="/dragon-section.js"></script>
<script type="module">
import * as THREE from 'three';
import { GLTFLoader } from 'three/addons/loaders/GLTFLoader.js';
diff --git a/vite.config.js b/vite.config.js
index 6c7cb1786..81b643af5 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -136,6 +136,7 @@ const appConfig = {
'three/addons/environments/RoomEnvironment.js',
'three/addons/libs/meshopt_decoder.module.js',
],
+ exclude: ['@pump-fun/agent-payments-sdk'],
},
build: {
chunkSizeWarningLimit: 1000,
@@ -143,7 +144,7 @@ const appConfig = {
// large bundles (Three.js, ethers) without affecting the output.
reportCompressedSize: false,
rollupOptions: {
- external: ['/studio/launch-panel.js'],
+ external: ['/studio/launch-panel.js', /^@pump-fun\/agent-payments-sdk(\/.*)?$/],
output: {
manualChunks(id) {
if (id.includes('node_modules/three/')) {