Class PackageManifestImportmap
Represents an import map configuration for a package manifest, used for JavaScript module resolution.
Inheritance
object
Namespace: Umbraco.Cms.Core.Manifest
Assembly: Umbraco.Core.dll
Syntax
[DataContract(Name = "packageManifestImportmap", Namespace = "")]
public class PackageManifestImportmap
Constructors
View SourcePackageManifestImportmap()
Declaration
public PackageManifestImportmap()
Properties
View SourceImports
Gets or sets the imports dictionary that maps module specifiers to URLs.
Declaration
[DataMember(Name = "imports")]
public required Dictionary<string, string> Imports { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, string> |
Scopes
Gets or sets the scopes dictionary that provides scoped import mappings for specific URL prefixes.
Declaration
[DataMember(Name = "scopes")]
public Dictionary<string, Dictionary<string, string>>? Scopes { get; set; }
Property Value
| Type | Description |
|---|---|
| Dictionary<string, Dictionary<string, string>> |