What does importing await import("./src/env.js") do in next.config.js?
Hi all, I'm trying to understand what this does inside of the
next.config.js
file. I am just trying to have this make sense to me, because when I run my app it tells me I can't run an async function outside of the async
block. I am assuming that I don't need to be running the app through create-t3-app
to use the env validation library.
0 Replies