Skip to content

custom .env vars not accessable?  #123

Open

Description

@archae0pteryx

Am i missing something? Adding vars to either .env or .env.local are not available via process.env?

Activity

  1. changed the title [-]custom .env vars no accessable? [/-] [+]custom .env vars not accessable? [/+] on Dec 5, 2017
  2. demersdesigns commented on Jun 15, 2018

    @demersdesigns

    I think you need to add REACT_APP_ to the beginning of your var name.
    REACT_APP_VAR=foobar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions