| 21 Dec 2023 |
Lily Foster | i was worried about that | 16:17:29 |
Lily Foster | let me dive more into the svelte docs | 16:17:38 |
Lily Foster | because you should be pulling these values at runtime rather than build time, and ideally not even require them to be set at all during build time. but idk svelte | 16:18:00 |
Lily Foster | * because you should be pulling these values at runtime rather than build time, and ideally not even require them to be set at all during build time. but idk very much about svelte | 16:18:05 |
Lily Foster |
by default from a module called _env.js — this can be configured with config.kit.env.publicModule
do you know what this part of the doc you mentioned means?
| 16:19:14 |
Lily Foster | is that how env vars should be passed in at runtime? | 16:19:22 |
peter-lustig | that line confused me too | 16:19:38 |
Lily Foster | wait, i just realized, does this mean you are importing these vars into client-side code, if it is attempting to pre-render it? | 16:20:24 |
Lily Foster | because uh 👀 | 16:20:35 |
peter-lustig | the prerendering stuff is so weird | 16:21:13 |
peter-lustig | like all of it confuses me | 16:21:16 |