You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+2-1
Original file line number
Diff line number
Diff line change
@@ -200,14 +200,15 @@ Layers:
200
200
## Environment specific configuration
201
201
202
202
Users can define environment specific configuration using those config keys:
203
+
203
204
-`$test: {...}`
204
205
-`$development: {...}`
205
206
-`$production: {...}`
206
207
-`$env: { [env]: {...} }`
207
208
208
209
c12 matches `$envName` or `NODE_ENV` environment variable to the env config and overrides it.
209
210
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.
0 commit comments