You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 25, 2022. It is now read-only.
Are we able to access NX environment variables from the React Native JS bundle? I have an environment variable defined in .local.env and I'm able to access it in my React & NodeJS apps in the same workspace. However, the same variable is undefined when I try to access it from the JS bundle during local development. The variable is defined if I print it out in metro.config.js, so it seems to be available during build time.
The text was updated successfully, but these errors were encountered:
Are we able to access NX environment variables from the React Native JS bundle? I have an environment variable defined in
.local.env
and I'm able to access it in my React & NodeJS apps in the same workspace. However, the same variable is undefined when I try to access it from the JS bundle during local development. The variable is defined if I print it out inmetro.config.js
, so it seems to be available during build time.The text was updated successfully, but these errors were encountered: