Table of Contents

Class NiteManifest

Namespace
Nite.Build
Assembly
Nite.dll

wwwroot/_nite/manifest.json: maps source modules to their hashed output files, the CSS they need and the chunks worth preloading. Paths are relative to /_nite/.

public sealed class NiteManifest
Inheritance
NiteManifest
Inherited Members

Fields

FileName

public const string FileName = "manifest.json"

Field Value

string

RuntimeKey

The manifest key of the island loader.

public const string RuntimeKey = "@nite/islands"

Field Value

string

Properties

Entries

Entry key (source path relative to the client root) โ†’ output.

public Dictionary<string, NiteManifestEntry> Entries { get; init; }

Property Value

Dictionary<string, NiteManifestEntry>

Html

HTML entry (relative to the client root) โ†’ built page (relative to /_nite/).

public Dictionary<string, string> Html { get; init; }

Property Value

Dictionary<string, string>

Islands

Island name โ†’ entry key.

public Dictionary<string, string> Islands { get; init; }

Property Value

Dictionary<string, string>

Version

public int Version { get; init; }

Property Value

int

Methods

Parse(string)

public static NiteManifest Parse(string json)

Parameters

json string

Returns

NiteManifest

ToJson()

public string ToJson()

Returns

string