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

Add docs when using in a Typescript project #83

Open Clumsy-Coder opened 4 years ago

Clumsy-Coder commented 4 years ago

Solves the issue of Typescript not finding the named environment variable import from the npm package.

Solution obtained from https://github.com/zetachang/react-native-dotenv/issues/76#issuecomment-585171009

Clumsy-Coder commented 4 years ago

Had to close and reopen pull request.

Has a weird issue with CircleCI.

Got error message:

No configuration was found in your project.

goatandsheep commented 4 years ago

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