You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Now it doesn't work well, e.g. there's some problems with import.meta.env for some pages.
Describe the solution you'd like
I want to create new package where, i can get data from .env file and also collect necessary data from process.env and create it accessible in all packages.
This can simplify env usage for entire project and unify it, users don't need to use process and import.meta.env separetly, but then will have it unified.
And it will works for all packages without any other problems.
I also want to implement script which will copy .example.env and paste it as .env on postinstall, for better first use, because it will work only when .env doesn't exitsts yet.
@SebastianTroc I have no time now, i hope for the end of this year, but maybe more, also @Jonghakseo are busy and we won't work on entire project till maybe February.
I hope @Jonghakseo want to work on this project more next year :)
Is your feature request related to a problem? Please describe.
Now it doesn't work well, e.g. there's some problems with
import.meta.env
for some pages.Describe the solution you'd like
I want to create new package where, i can get data from
.env
file and also collect necessary data fromprocess.env
and create it accessible in all packages.This can simplify
env
usage for entire project and unify it, users don't need to useprocess
andimport.meta.env
separetly, but then will have it unified.And it will works for all packages without any other problems.
I also want to implement script which will copy .example.env and paste it as .env on
postinstall
, for better first use, because it will work only when.env
doesn't exitsts yet.Ps: I've found it:
https://nodejs.org/dist/latest-v20.x/docs/api/cli.html#--env-fileconfig
From version 20, Node support
.env
native, i can do this that way :)The text was updated successfully, but these errors were encountered: