Files
zopu-code/packages/agents/flue.config.ts
-Puter 4dc878b8cb fix(agents): bundle workspace deps into flue runtime
Replace @code/env and @code/primitives imports with local modules so
the Node deploy artifact does not resolve workspace packages to
TypeScript source at runtime. Switch Docker build to pnpm frozen
install, add runner Dockerfile and a liveness health endpoint.
2026-08-01 20:17:49 +05:30

14 lines
343 B
TypeScript

import { defineConfig } from "@flue/cli/config";
export default defineConfig({
target: "node",
});
// The Node deploy artifact must not resolve workspace packages to TypeScript
// source at runtime; bundle them with the Flue server instead.
export const vite = {
ssr: {
noExternal: [/^@code\/(?:env|primitives)(?:\/.*)?$/u],
},
};