brick.ts

@brickkit/cli/compiler

Compile and bind a Brick application's routes ahead of time.

llms.txt

@brickkit/cli/compiler exports 1 name: 1 function.

import { emitCompiledApplication } from "@brickkit/cli/compiler";

Functions

FunctionDescription
emitCompiledApplicationAn ES module of real JS functions; it never stringifies application callbacks.

emitCompiledApplication

function emitCompiledApplication(
  ir: BrickIR,
  runtimeImport = "@brickkit/core",
): string

An ES module of real JS functions; it never stringifies application callbacks.

Parameters

NameTypeDescription
irBrickIR
runtimeImport?string default "@brickkit/core"

Returns string

Source: packages/cli/src/compiler/emit.ts:4

On this page

Generated from the JSDoc above each export. Edit the comment there.