Transform `defineSecrets` call for production SSR bundle
Open
enhancement
ssr bundle
- Dominant language
- TypeScript
- Stars
- 38
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
The SSR bundle already loads in secrets from the `deployed` branch of the git repository. At build time, we can replace the `defineSecrets` call with an object that references the required keys of the `deployedEnv` object.
This allows for functions that rely on `defineSecrets` to be used in production SSR bundles.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.