From 9442a003e69710be35b6bf6bb67619fc392f19e9 Mon Sep 17 00:00:00 2001 From: Vasiliy Loginevskiy Date: Thu, 3 Feb 2022 09:57:22 +0300 Subject: [PATCH] fix: missing config.js --- README.md | 10 +++++----- package.json | 2 ++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 4480296..5300800 100644 --- a/README.md +++ b/README.md @@ -131,26 +131,26 @@ See [CHANGELOG.md](CHANGELOG.md) ### Preload -You can use the `--require` (`-r`) [command line option](https://nodejs.org/api/cli.html#cli_r_require_module) to preload dotenv & dotenv-extend. By doing this, you do not need to require and load dotenv or dotenv-extend in your application code. This is the preferred approach when using `import` instead of `require`. +You can use the `--require` (`-r`) [command line option](https://nodejs.org/api/cli.html#cli_r_require_module) to preload dotenv & dotenv-expand. By doing this, you do not need to require and load dotenv or dotenv-expand in your application code. This is the preferred approach when using `import` instead of `require`. ```bash -$ node -r dotenv-extend/config your_script.js +$ node -r dotenv-expand/config your_script.js ``` The configuration options below are supported as command line arguments in the format `dotenv_config_