in drizzle.config.ts: "Cannot use import statement outside a module"
happens when I try to
push
env.mjs zod validates the raw process.env
any assistance is very much appreciated thanks7 Replies
i think drizzle.config.ts gets compiled to a commonjs module so you cant import .mjs or any es6 modules
do you use a env.mjs for using it with a next.config.mjs like in create-t3-app ?
having the same problem here
@alexblokh is working on it
Will be included in next drizzle-kit release
Here's my error log if that helps
with all bells and whistles, it's going to be a cjs bundle for kit with runtime cjs/esm support
those are words yes