react-native-dotenv icon indicating copy to clipboard operation
react-native-dotenv copied to clipboard

using env inside metro.config.js

Open bosung90 opened this issue 6 years ago • 3 comments

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?

bosung90 avatar Mar 27 '19 19:03 bosung90

metro.config.js not work for me:

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

luisfuertes avatar Apr 24 '19 09:04 luisfuertes

facing same issue, Any update ?

amitrai98 avatar Jan 17 '20 14:01 amitrai98

Same here.

dragma avatar Feb 17 '20 14:02 dragma