alloc / alloc/saus

Transform `defineSecrets` call for production SSR bundle

Open
#81 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.