Skip to main content

Module parsing

Module parsing 

Source
Expand description

Vite manifest parsing module.

This module contains all required functions to parse manifest and read chunks, so it’s sort of “internal”, that you probably shouldn’t use.

To parse and automatically implement traits, use Manifest derive!

Functions§

parse_manifest
Parses Vite manifest and returns it.
read_manifest_chunk
Reads contents of chunk, computes hash and guesses mime_type, and writes into ManifestChunk.