Is there any way to call drizzle-kit with the new node --env-file=.env argument?
Hey, since node supports env files since pretty recently, it would be nice if we could ditch dotenv. Now I only require dotenv to inject the environment variables to drizzle.config.ts to allow drizzle-kit to db push 😄
1 Reply
I tried
but it returns
because env files are loaded before the options are evaluated. I am wondering if there is anything else I could try?
also tried
with no success
I figured it out!!! This was not that self-explanatory lol