Skip to content

Commit 8480e41

Browse files
committedMar 10, 2023
chore: update readme
1 parent f363687 commit 8480e41

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

‎README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -200,14 +200,15 @@ Layers:
200200
## Environment specific configuration
201201

202202
Users can define environment specific configuration using those config keys:
203+
203204
- `$test: {...}`
204205
- `$development: {...}`
205206
- `$production: {...}`
206207
- `$env: { [env]: {...} }`
207208

208209
c12 matches `$envName` or `NODE_ENV` environment variable to the env config and overrides it.
209210

210-
**Note:** Environment will be applied when extending each configuration layer. Layers can provide environment specific configuration but you cannot conditionally extend a layer from env.
211+
**Note:** Environment will be applied when extending each configuration layer. This way layers can provide environment specific configuration.
211212

212213
**Example:**
213214

0 commit comments

Comments
 (0)