Reads the settings that connect a Phoenix website to its native wrappers. The JSON file specifies the website origin, startup route, extra offline routes and native app identity. Named environments can override those settings for development or deployment.
How it fits
Read by the wrapper tasks and their underlying workflow and generator modules. mix fow.manifest calls discovery to create the initial file.
Summary
Functions
Derive a starter manifest from the current Mix project and its Phoenix endpoint configuration. Review the result before using it to capture public pages.
Read a JSON manifest, apply the selected environment and validate the result.
Validate a project-relative file path used by the manifest.
Merge a named environment over top-level defaults, then validate the result.
Validate a resolved manifest and return it with a normalized website origin.
Validate a website origin used for capture or startup and normalize it.
Validate a route pathname suitable for public bundle capture.
Write the manifest as JSON. Pass force to replace an existing file.
Functions
Derive a starter manifest from the current Mix project and its Phoenix endpoint configuration. Review the result before using it to capture public pages.
Read a JSON manifest, apply the selected environment and validate the result.
Validate a project-relative file path used by the manifest.
Merge a named environment over top-level defaults, then validate the result.
Validate a resolved manifest and return it with a normalized website origin.
Validate a website origin used for capture or startup and normalize it.
Validate a route pathname suitable for public bundle capture.
Write the manifest as JSON. Pass force to replace an existing file.