Replies: 1 comment 3 replies
-
Assuming you're trying to reference environment variables within You can use After installing the package, you can load your environment variables within import { loadEnvConfig } from '@next/env';
const projectDir = process.cwd();
loadEnvConfig(projectDir);
export default defineConfig({
// ...
}); If you're using |
Beta Was this translation helpful? Give feedback.
-
Using Drizzle with Next.js, and it's loading .env.local. I know I can use
dotenv
but don't want to use another package. Could you maybe consider to add.env.local
support for Drizzle Kit?Beta Was this translation helpful? Give feedback.
All reactions