ManifestUtils

open class ManifestUtils

Utility methods for reading and processing Vite manifest files.

This class provides static methods to read and parse the Vite manifest file, which maps entry points to the corresponding generated assets. These methods can be used to retrieve information about the assets for inclusion in web pages.

Author

Benny Yen

Since

0.1.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open fun readManifest(manifestStream: InputStream): JsonNode
Reads the Vite manifest file from an InputStream and returns its contents as a JsonNode.
open fun readManifest(manifestFilePath: String): JsonNode
Reads the Vite manifest file and returns its contents as a JsonNode.