Cell API
    Preparing search index...

    Class WranglerConfig

    The Wrangler configuration of the output (<outDir>/wrangler.json). Cloudflare settings (name, bindings, vars, routes, compatibility date) stay where Cloudflare documents them, in the project's wrangler.json or wrangler.jsonc; Cell adds what the build decides: the worker entry, the frontend as static assets and Node.js compatibility.

    Index
    root: string
    DEFAULT_NAME: "cell-app" = 'cell-app'
    FILES: string[] = ...

    Project files, in Wrangler's order of precedence.

    MAIN: "server/worker.mjs" = 'server/worker.mjs'

    The worker module, relative to the output directory.

    MIN_COMPATIBILITY_DATE: "2026-03-17" = '2026-03-17'

    From this date on nodejs_compat includes every Node.js module the Cell server needs: the node:http server Express runs on (2025-09-01) and node:tty (2026-03-17, used by debug).

    NODEJS_COMPAT: "nodejs_compat" = 'nodejs_compat'
    OUTPUT_FILE: "wrangler.json" = 'wrangler.json'
    • The frontend becomes the static assets of the worker; the project's other asset settings (binding, not_found_handling, ...) are kept. Cell frontends are single-page applications (@celljs/serve-static answers unknown paths with index.html on Node.js), so navigation to a path that is not a file gets index.html from Cloudflare unless the project sets not_found_handling; other requests, such as API calls, still reach the worker. Without a frontend, the project's own asset directory is kept, relative to the output directory now.

      Parameters

      • value: unknown
      • manifest: OutputManifest
      • outDir: string
      • where: string
      • warnings: string[]

      Returns WranglerJson | undefined