Skip to content
Discussion options

You must be logged in to vote

Vite actually has an export to load environment variables named loadEnv. We're using this under the hood too and that should give you similar behaviour. Once #15250 is merged, you should also be able to just use the SvelteKit APIs for your standalone scripts

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@jirpok
Comment options

Answer selected by jirpok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants