mirror of
https://github.com/lukevella/rallly.git
synced 2025-08-03 16:38:34 +02:00
🐛 Use dotenv in next config to load env vars from root (#1271)
This commit is contained in:
parent
d105049119
commit
58640648d2
1 changed files with 4 additions and 0 deletions
|
@ -8,6 +8,10 @@ const withBundleAnalyzer = require("@next/bundle-analyzer")({
|
|||
enabled: process.env.ANALYZE === "true",
|
||||
});
|
||||
|
||||
require("dotenv").config({
|
||||
path: "../../.env",
|
||||
});
|
||||
|
||||
/** @type {import('next').NextConfig} */
|
||||
const nextConfig = {
|
||||
output:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue