Skip to main content

2 docs tagged with "globals"

View all tags

Environment Files

The genx run and genx build commands read the contents of the client/.env file to set global variables in the client build. For the typescript compiler to work these values must also be declared in the client/globals.d.ts file. This section covers environment file configuration and the Environment Indicator component for displaying environment information in your application.

Multiple Dot Env Files

You can include multiple dot env files by specifying multiple DOTENVFILE parameters. This allows you to compose environment configurations from multiple sources, making it easier to manage complex environment setups.