import.meta.env vars for vite with nixpacks
moogmodular
HOBBYOP
a year ago
I get that you have to do it like this with Dockerfile builder: https://docs.railway.com/guides/dockerfiles#using-variables-at-build-time
But what about nixpack builds?
2 Replies
Status changed to Awaiting User Response Railway • over 1 year ago
brody
Hello, Nixpacks does it automatically. Best, Brody
moogmodular
HOBBYOP
a year ago
Thank you for the quick reply. Figured it out.
Status changed to Awaiting Railway Response Railway • over 1 year ago
Status changed to Solved brody • over 1 year ago
