You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want the same environment variable loading and validation to happen in code bundled with Vite for SSR and before running command line tools such as kysely-ctl.
For the environment preloading, I use Node CLI's --import option like this:
I want the same environment variable loading and validation to happen in code bundled with Vite for SSR and before running command line tools such as
kysely-ctl
.For the environment preloading, I use Node CLI's
--import
option like this:Right now, this is how my
loadEnv.js
file looks:It would be great if it could be simplified to something like this:
I could submit a PR for this feature if you agree it's a reasonable addition to the library.
The text was updated successfully, but these errors were encountered: