-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support dotenv by loading process.env later (#59)
dotenv is a popular library for loading runtime config from a .env file. It's useful for lightweight development. The way it works is a little dirty because it modifies process.env. It's a tricky to use with Airtable, which grabs its config at module load time. If loading the environment is deferred until Airtable is used, it works like a charm. https://github.com/motdotla/dotenv
- Loading branch information
1 parent
6eba165
commit 20ee90c
Showing
1 changed file
with
10 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters