babel-plugin-replace-variable
v1.1.2
Published
Create a `.env` or `.env.ENVIRONMENT` file where `ENVIRONMENT` is your `NODE_ENV` (defaults to development)
Readme
Usage
Create a .env or .env.ENVIRONMENT file where ENVIRONMENT is your NODE_ENV (defaults to development)
the contents of the file should look like:
__SOME_KEY__=SOMEVALUE
OTHERKEY=OTHERVALUEwithin your code use __SOME_KEY__ and babel will replace it with SOMEVALUE
