Skip to content

armgit / fuobe

Public Imported from GitHub
0

The open creative studio on ComfyUI: images, video, 3D and audio on open weights, on your own GPU or the cloud. Camera motions, effects, apps, Cinema, Layers, Image to 3D and an AI agent.

Deploy: a server build can skip its own TypeScript pass

Adarsh2d5620ffbdc5
diff --git a/next.config.ts b/next.config.ts
index c2b30707..516ce79a 100644
--- a/next.config.ts
+++ b/next.config.ts
@@ -5,6 +5,10 @@ const nextConfig: NextConfig = {
cacheComponents: true,
poweredByHeader: false,
partialPrefetching: true,
+ // A deploy can set FUOBE_SKIP_BUILD_TYPECHECK=1 to skip the build's own TypeScript pass: on a small server it holds
+ // another ~1 GB for minutes and can run the build out of memory (Next's memory guide, "Disable static analysis").
+ // `pnpm typecheck` still checks every change before it's pushed; local builds keep the check.
+ typescript: { ignoreBuildErrors: process.env.FUOBE_SKIP_BUILD_TYPECHECK === "1" },
experimental: {
// The sign-in proxy holds every request body it sees in memory, up to this size, even one it refuses: a small limit
// keeps many open requests from filling the server's memory. The routes that take a file in a form (uploads, a Soul