alloc / alloc/saus

Transform `defineSecrets` call for production SSR bundle

Aperta
#81 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
enhancement ssr bundle
Lingua principale
TypeScript
Stelle
38
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.