Cell API
    Preparing search index...

    Class ConfigGenerator

    Generates the code that replaces @celljs/core's common/config/dynamic-config.js. Backend ${...} expressions stay as strings: @celljs/core evaluates them at runtime against the config and process.env, so one build serves every environment. CELL_BACKEND__* environment variables override keys at startup, then paths.public (relative to the output directory) becomes absolute.

    Index
    • Parameters

      • target: Target
      • format: "esm" | "cjs" = 'esm'
      • OptionaloutputDir: string

        Absolute output directory; by default the parent of the server bundle. cell dev has no bundle.

      Returns ConfigGenerator

    format: "esm" | "cjs" = 'esm'
    outputDir?: string

    Absolute output directory; by default the parent of the server bundle. cell dev has no bundle.

    target: Target