Skip to content

EsmAccessControlOptions.MissingManifestPermission property

The permission (or permission expression) required to load the files of an esm folder without a build.esm-manifest, e.g. the folder of a package built with a tsbuild version that does not write the manifest. Default is "*", which serves them without access control, as before. "?" makes such a folder fail safe for anonymous users, and "DENY" serves them to no one. Like other permissions, an empty value is invalid and denies access. Note that any folder named esm is treated as an esm folder, including ones that are not built by tsbuild, like the esm folder of a library copied under wwwroot/lib, so list those in MissingManifestAllowedPaths.

public string MissingManifestPermission { get; set; }

See Also