zetachang / react-native-dotenv

A Babel preset let you import application configs from .env file (zero runtime dependency)
MIT License
915 stars 68 forks source link

[allow-undefined] closes #41 #75

Closed Phil-Barber closed 4 years ago

Phil-Barber commented 4 years ago

Allow for vars to be undefined like most other dotenv libraries do.

P1robot commented 4 years ago

Automated benchmark results (pass #0): passed

concurrency: 32
requests per second: 6160
concurrency: 128
requests per second: 7641
concurrency: 512
requests per second: 4685
concurrency: 1024
requests per second: 4006
goatandsheep commented 4 years ago

@selvach There's a new repo and package babel-plugin-dotenv-import. Please reopen in the new repo

Phil-Barber commented 4 years ago

https://github.com/goatandsheep/rn-dotenv/pull/4#event-3384489297