Skip to content

Search the guides, deployment pages, and API reference.

@pitlane/assets/build

Bundler-neutral manifest generation for integration authors: describe what a bundler emitted as an AssetBuild, and createAssetManifest returns the manifest createAssetResolver reads.

See

Manifest integrations guide

Interfaces

  • AssetBuild. A bundler's output, normalized for createAssetManifest.
  • AssetBuildChunk. One emitted JavaScript chunk.
  • AssetBuildEnvironment. One environment's output graph.
  • AssetEnvironment. Every source module observed in one environment's graph, keyed by portable source key.
  • AssetMetadata. The JavaScript and CSS one source module requires in one environment.
  • BuildAssetsManifest. The manifest a production build produces.
  • ImportMap. An import map as the HTML standard defines it: specifier mappings, optional scoped mappings, and optional integrity metadata.

Functions

  • createAssetManifest. Converts a bundler's normalized output into the manifest createAssetResolver reads.