@fluidframework/web-code-loader Package

Packages > @fluidframework/web-code-loader

Classes

List of classes contained in this package or namespace
Class Description
AllowList Class used by hosts to allow specific containers and endpoint.
SemVerCdnCodeResolver This code resolver works against cdns that support semantic versioning in the url path of the format: cdn_base/@package_scope?/package_name@package_versionThe @package_scope? is optional, and only needed it the package has a scope. The package_version can be an npm style semantic version.The cdn_base is provided in the config of the Fluid code details, as either a global config.cdn property, or a per scope cdn, config["@package_scope:cdn"]. A scope specific cdn base will take precedence over the global cdn.
WebCodeLoader

Functions

List of functions contained in this package or namespace
Function Description
extractPackageIdentifierDetails(codeDetailsPackage)
resolveFluidPackageEnvironment(environment, baseUrl)

Interfaces

List of interfaces contained in this package or namespace
Interface Description
IPackageIdentifierDetails

Functions

extractPackageIdentifierDetails

Signature:

export declare function extractPackageIdentifierDetails(codeDetailsPackage: string | IFluidPackage): IPackageIdentifierDetails;

Parameters

List of parameters
Parameter Type Description
codeDetailsPackage string | IFluidPackage

Returns:

IPackageIdentifierDetails

resolveFluidPackageEnvironment

Signature:

export declare function resolveFluidPackageEnvironment(environment: IFluidPackageEnvironment, baseUrl: string): Readonly<IFluidPackageEnvironment>;

Parameters

List of parameters
Parameter Type Description
environment IFluidPackageEnvironment
baseUrl string

Returns:

Readonly<IFluidPackageEnvironment>