Open birkskyum opened 2 months ago
When developing with vinxi dev the .env file will be loaded correctly with vite.
vinxi dev
After building and starting, none of the import.meta.env are found.
My current alternative to vinxi start is pnpx node-env-run .output/server/index.mjs
vinxi start
pnpx node-env-run .output/server/index.mjs
related:
and ofc node --env-file
node --env-file
When developing with
vinxi dev
the .env file will be loaded correctly with vite.After building and starting, none of the import.meta.env are found.
My current alternative to
vinxi start
ispnpx node-env-run .output/server/index.mjs
related: