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?

Solved

2 Replies

a year ago

Hello,

Nixpacks does it automatically.

Best,

Brody


Status changed to Awaiting User Response Railway 12 months 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 12 months ago


Status changed to Solved brody 12 months ago


Loading...