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.
The SSR bundle already loads in secrets from the
deployedbranch of the git repository. At build time, we can replace thedefineSecretscall with an object that references the required keys of thedeployedEnvobject.This allows for functions that rely on
defineSecretsto be used in production SSR bundles.