Skip to content

Decide on env variables prefix for the web app #1036

@infomiho

Description

@infomiho

We used Create React App before which has the rule of only allowing REACT_APP_ prefixed env variables.

This forces our users to define all variables with that prefix. When we start using Vite, we'll be able to change the prefix to anything we want, and we should consider which prefix that should be.

  1. REACT_APP_ keep backwards compatibility
  2. VITE_ is default in Vite world
  3. WASP_ is our own and doesn't expose unimportant implementation details
  • if we changed from Vite to something else we wouldn't need to think about it

Metadata

Metadata

Assignees

Labels

dxshouldfixWe should do/fix this at some point

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions