Documentation of build-manifest
is Confusing
#19575
Labels
documentation
Improvements or additions to documentation
build-manifest
is Confusing
#19575
Documentation is
Explain in Detail
On the build-manifest part deal with the manifest.json file.
When this option is set to true, the build process generates a manifest file at the default location
(.vite/manifest.json)
, which contains a mapping of unhashed asset filenames to their hashed versions for use by server frameworks. However, when the option is set to a string, that string is not only used as the manifest file name but also changes the entire output file path. In this case, the default.vite
directory and its contents will not be generated; instead, the files are output to a new path defined by the provided string. This behavior may confuse users who expect only the manifest file name to change.Your Suggestion for Changes
I suggest updating the documentation as follows:
This clarification will help ensure users fully understand the impact of using a string value for this configuration option.
Reproduction
No response
Steps to reproduce
set
manifest
oftrue
set
manifest
ofmanifest.json
The text was updated successfully, but these errors were encountered: