Skip to content

Search the guides, deployment pages, and API reference.

AssetBuild

import type { AssetBuild } from "@pitlane/assets/build";

A bundler's output, normalized for createAssetManifest.

Paths and filenames are already portable: source keys are relative to the project root, and file/stylesheets are emitted filenames relative to base or absolute public URLs.

Properties

base

base: string;

The public base relative emitted filenames resolve against, such as / or https://cdn.example/app/.


environments

environments: Record<string, AssetBuildEnvironment>;

Every participating environment by name. Exactly one has the client role.


importMap?

optional importMap?: ImportMap;

The import map the bundler generated for the client build, when it generated one.