🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { fileURLToPath } from 'node:url';
import { defineConfig } from 'vite';
import { honoServerDedupe, honoServerPlugins } from './viteNodeServer.config';
const serverRoot = fileURLToPath(new URL('.', import.meta.url));
const entry = (file: string) =>
fileURLToPath(new URL(`./src/router-hono/${file}`, import.meta.url));
export default defineConfig({
build: {
emptyOutDir: true,
minify: false,
outDir: fileURLToPath(new URL('./dist', import.meta.url)),
rollupOptions: {
input: {
index: entry('index.ts'),
standalone: entry('standalone.ts'),
},
output: {
chunkFileNames: 'chunks/[name]-[hash].js',
entryFileNames: '[name].js',
format: 'es',
},
},
ssr: true,
target: 'node24',
},
plugins: honoServerPlugins(),
resolve: {
dedupe: honoServerDedupe,
},
root: serverRoot,
ssr: {
noExternal: [/^@lobechat\//],
},
});