fynjs API
    Preparing search index...

    Function createResolveHook

    • Build the resolve hook. Separated from install so the mapping decision can be tested without registering anything on the process.

      Parameters

      Returns (
          specifier: string,
          context: ResolveContext,
          nextResolve: NextResolve,
      ) => ResolveResult