Skip to main content

Environment interface

Signature:
export interface Environment extends Pick<ReducerList, "setReducers" | "resetReducers"> 
Extends: Pick<[ReducerList](/docs/api/env.reducerlist), "setReducers" \| "resetReducers">

Properties

PropertyModifiersTypeDescription
cwdstringCurrent working directory (CWD).
env?string | string[](Optional) Current environment.
extensionsstring[]File extensions of environments.
pathsPathsPath patterns of environment files.

Methods

MethodDescription
component(name)Returns component variables merged with global variables.
global()Returns global variables.