t3-env
t3-env copied to clipboard
Update env next import docs for Next v15
Next 15 allows importing directly into next.config.ts
Seems to be working great, much easier to use.
@JulianKingman is attempting to deploy a commit to the t3-oss Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| t3-env | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 3, 2025 1:13pm |
@JulianKingman
Is it correct that when using split env files for server and client, we just need to import both like this?
// next.config.ts
import type { NextConfig } from "next";
import "@/env/server";
import "@/env/client";
const nextConfig: NextConfig = {};
export default nextConfig;