readManifest

open fun readManifest(manifestFilePath: String): JsonNode

Reads the Vite manifest file and returns its contents as a JsonNode.

Return

the parsed manifest file as a JsonNode

Parameters

manifestFilePath

the path to the manifest file

Throws

if an I/O error occurs while reading the file


open fun readManifest(manifestStream: InputStream): JsonNode

Reads the Vite manifest file from an InputStream and returns its contents as a JsonNode.

Return

the parsed manifest file as a JsonNode

Parameters

manifestStream

the input stream of the manifest file

Throws

if an I/O error occurs while reading the stream