gwss.resolver

Module Contents

Functions

resolve_pkg(→ dict[Any, Any])

resolve_links(package, version, s_or_s, dir_, links)

Returns the full url for the unpkg files in 'links'

gwss.resolver.resolve_pkg(package: str) dict[Any, Any][source]

Returns the full url for the unpkg files in ‘links’ :param package: name of package :type package: str :param version: the computed version of the package :type version: str :param s_or_s: literal text of ‘script’ or ‘style’ :type s_or_s: str :param dir_: first child directory the files is in, relative to root of package :type dir_: PathLike :param links: A list of files to resolve :type links: dict

Return type:

urls for individual files