mise API - v0.0.0
    Preparing search index...

    Function packageWebRoot_find

    • Finds the built bundle an installed package ships in its dist, when that package can be resolved from here. calypso depends on no surface: a launcher that does (chell, with ARGUS) resolves its own, and this answers only when such a package happens to be installed beside calypso.

      Parameters

      • packageName: string

        The package that ships the bundle (ARGUS: @fnndsc/argus).

      • from: string = ...

        Where to resolve it from (a module URL); calypso's own when not given.

      Returns string | null

      The absolute bundle directory, or null when the package is not installed or ships no built bundle.