Replies: 2 comments 4 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 |
|
It does not work with |
Uh oh!
There was an error while loading. Please reload this page.
Using Drizzle with Next.js, and it's loading .env.local. I know I can use
dotenvbut don't want to use another package. Could you maybe consider to add.env.localsupport for Drizzle Kit?All reactions