MCPcopy
hub / github.com/vercel/next.js / updateInitialEnv

Function updateInitialEnv

packages/next-env/index.ts:20–22  ·  view source on GitHub ↗
(newEnv: Env)

Source from the content-addressed store, hash-verified

18let previousLoadedEnvFiles: LoadedEnvFiles = []
19
20export function updateInitialEnv(newEnv: Env) {
21 Object.assign(initialEnv || {}, newEnv)
22}
23
24type Log = {
25 info: (...args: any[]) => void

Callers 1

loadConfigFunction · 0.90

Calls 1

assignMethod · 0.80

Tested by

no test coverage detected