Skip to content

Function: withoutHook()

Documentation / @wtf/project-resolve / env / withoutHook

function withoutHook(env): Readonly<Record<string, string | undefined>> & object;

Defined in: packages/project-resolve/src/env.ts:60

env, an environment as a process has it, with no resolve hook in NODE_OPTIONS, and every other variable and option as it is. NODE_OPTIONS is a string, empty when nothing is left, so it replaces the variable of the process it is given over.

Parameters

ParameterType
envEnv

Returns

Readonly<Record<string, string | undefined>> & object