Skip to content
This repository has been archived by the owner on Jul 8, 2020. It is now read-only.

Add optional whitelist and defaults #77

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

robbie-c
Copy link

Sometimes you don't want to pull in your entire .env file, and would rather have a whitelist for the keys that are accepted. This adds that whitelist.

I've also added a defaults object, which provides values that we fallback to if keys are not present in the .env file

@goatandsheep
Copy link

goatandsheep commented May 21, 2020

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants