Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.agentfront.dev/llms.txt

Use this file to discover all available pages before exploring further.

Builds a distributable executable bundle using esbuild. Produces a single-file output ideal for containerized deployments.

Usage

nx build-exec my-app

Configuration

project.json
{
  "targets": {
    "build-exec": {
      "executor": "@frontmcp/nx:build-exec",
      "outputs": ["{projectRoot}/dist"],
      "options": {
        "entry": "{projectRoot}/src/main.ts",
        "outputPath": "{projectRoot}/dist"
      }
    }
  }
}

Options

OptionTypeDescription
entrystringEntry file path
outputPathstringOutput directory path

Caching

This executor is cacheable. The bundled output is deterministic given the same inputs.