Open
Description
Description
Currently, to access a build manifest for a given environment, a manifest file must be written to the file system. Now that Vite can output multiple environments as part of the build, it would be great if you could access the manifests of already built environments without having to read and write files.
Suggested solution
One option would be to populate an environment.manifest
field once the given environment is built. This could then be accessed inside the new buildApp
hook.
Alternative
No response
Additional context
Currently, frameworks often output a manifest file and then read it in order to move assets emitted in the SSR environment to the client bundle. This feature would remove the need to read and write files.
Validations
- Follow our Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.