babel-plugin-replace-variable

1.1.2 • Public • Published

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=OTHERVALUE

within your code use __SOME_KEY__ and babel will replace it with SOMEVALUE

Readme

Keywords

none

Package Sidebar

Install

npm i babel-plugin-replace-variable

Weekly Downloads

0

Version

1.1.2

License

ISC

Unpacked Size

2.88 kB

Total Files

4

Last publish

Collaborators

  • sebmak