Cell API
    Preparing search index...

    Class BuildCommand

    cell build: build every target into the output directory, as the preset prescribes.

    Hierarchy (View Summary)

    Index
    arguments: string = ''

    Positional arguments for --help, e.g. get <key>; commands without them reject positionals.

    description: "Build the application into .cell/output" = 'Build the application into .cell/output'
    name: "build" = 'build'
    options: {
        compile: { type: "string" };
        "compile-target": { type: "string" };
        format: { type: "string" };
        mode: { multiple: true; short: "m"; type: "string" };
        "out-dir": { type: "string" };
        preset: { type: "string" };
        single: { type: "boolean" };
        sourcemap: { type: "boolean" };
    } = BuildCommand.OPTIONS

    Options of this command in addition to the common ones (--root, --json, --help).

    usage: string[] = BuildCommand.USAGE

    One line per option for --help.

    OPTIONS: {
        compile: { type: "string" };
        "compile-target": { type: "string" };
        format: { type: "string" };
        mode: { multiple: true; short: "m"; type: "string" };
        "out-dir": { type: "string" };
        preset: { type: "string" };
        single: { type: "boolean" };
        sourcemap: { type: "boolean" };
    } = ...

    Options that decide what is built; cell info accepts the same ones.

    USAGE: string[] = ...
    • Files of modules (cell.addOutputFile), relative to the output directory, which they must not leave.

      Parameters

      • outDir: string
      • files: Record<string, string | Uint8Array>

      Returns void