react-native-dotenv
react-native-dotenv copied to clipboard
using env inside metro.config.js
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?
metro.config.js not work for me:
Unable to resolve module "path" from ../node_modules/react-native-dotenv/index.js
facing same issue, Any update ?
Same here.