diff options
Diffstat (limited to 'cli/schemas')
| -rw-r--r-- | cli/schemas/config-file.v1.json | 24 |
1 files changed, 23 insertions, 1 deletions
diff --git a/cli/schemas/config-file.v1.json b/cli/schemas/config-file.v1.json index 675a763a4..f0b496720 100644 --- a/cli/schemas/config-file.v1.json +++ b/cli/schemas/config-file.v1.json @@ -198,9 +198,31 @@ } }, "importMap": { - "description": "The location of an import map to be used when resolving modules. If an import map is explicitly specified, it will override this value.", + "description": "The location of an import map to be used when resolving modules. If an import map is specified as an `--importmap` flag or using \"imports\" and \"scopes\" properties, they will override this value.", "type": "string" }, + "imports": { + "description": "A map of specifiers to their remapped specifiers.", + "type": "object", + "additionalProperties": { + "description": "The key is the specifier or partial specifier to match, with a value that represents the target specifier.", + "type": "string" + } + }, + "scopes": { + "default": {}, + "description": "Define a scope which remaps a specifier in only a specified scope", + "type": "object", + "properties": {}, + "additionalProperties": { + "description": "A definition of a scoped remapping.", + "type": "object", + "additionalProperties": { + "description": "The key is the specifier or partial specifier to match within the referring scope, with a value that represents the target specifier.", + "type": "string" + } + } + }, "lint": { "description": "Configuration for linter", "type": "object", |
