!NhAsaYbbgmzHtXTPQJ:funklause.de

Nix NodeJS

204 Members
58 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
21 Dec 2023
@lily:lily.flowersLily Fosteri was worried about that16:17:29
@lily:lily.flowersLily Fosterlet me dive more into the svelte docs16:17:38
@lily:lily.flowersLily Fosterbecause 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 svelte16:18:00
@lily:lily.flowersLily 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 svelte16:18:05
@lily:lily.flowersLily 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:lily.flowersLily Fosteris that how env vars should be passed in at runtime?16:19:22
@peter-lustig:matrix.orgpeter-lustigthat line confused me too16:19:38
@lily:lily.flowersLily Fosterwait, 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:lily.flowersLily Fosterbecause uh 👀16:20:35
@peter-lustig:matrix.orgpeter-lustigthe prerendering stuff is so weird16:21:13
@peter-lustig:matrix.orgpeter-lustiglike all of it confuses me16:21:16

Show newer messages


Back to Room ListRoom Version: 6