packages/config-loader: add build- and dev-time config through env + tests
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
|
||||
import { AppConfig, Config, JsonValue, JsonObject } from './types';
|
||||
|
||||
// Update the same pattern in config-loader package if this is changed
|
||||
const CONFIG_KEY_PART_PATTERN = /^[a-z][a-z0-9]*(?:[-_][a-z][a-z0-9]*)*$/i;
|
||||
|
||||
function isObject(value: JsonValue | undefined): value is JsonObject {
|
||||
|
||||
Reference in New Issue
Block a user