Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

using env inside metro.config.js #58

Open
bosung90 opened this issue Mar 27, 2019 · 3 comments
Open

using env inside metro.config.js #58

bosung90 opened this issue Mar 27, 2019 · 3 comments

Comments

@bosung90
Copy link

I have custom metro.config.js

that file does not allow import keyword.

Using this library does seem to work with require.

Any way I can use environment variable inside metro.config.js?

@luisfuertes
Copy link

metro.config.js not work for me:

Unable to resolve module "path" from ../node_modules/react-native-dotenv/index.js

@amitrai98
Copy link

facing same issue, Any update ?

@dragma
Copy link

dragma commented Feb 17, 2020

Same here.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants