DevelopmentDocumentAssets class

Namespace Runic.Assets · Runic.Assets 0.7.0-preview.5

public static class DevelopmentDocumentAssets

Opt-in development entry documents shared by application hosts.

Methods

WithDevelopmentDocument

public static IAssetSnapshotSource WithDevelopmentDocument(this IAssetSnapshotSource source)

Replaces only the entry document with the CLI's bounded development bootstrap. Without the environment variable, returns the original source.

Remarks

The local development CLI supplies RUNIC_APPLICATION_DEVELOPMENT_DOCUMENT. This never adds a disk root or an HTTP proxy to the asset boundary.

WithDevelopmentDocument

public static IAssetSnapshotSource WithDevelopmentDocument(this IAssetSnapshotSource source, string path)

Reads one explicit development HTML file as an immutable entry snapshot. Other assets retain their original manifest and storage boundary.