Skip to main content
Best answer

CLI environment variables in local testing

  • 11 May 2024
  • 1 reply
  • 35 views

Variables set in .env are not showing up in local testing. I wanted to test locally with a flag process.env.PRODUCTION === false and then set my API key, otherwise have the bundle api key being pulled.

Thanks for any help!

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Nevermind, just found this in the CLI Docs: