@ac-essentials/misc-util
    Preparing search index...

    Function resolveModule

    • Resolve a module id to its full path.

      If defined, the resolve paths will be used instead of the default node.js ones, except for the GLOBAL_FOLDERS like $HOME/.node_modules, which are always included.

      Parameters

      • id: string

        Module identifier

      • OptionalresolvePaths: string[]

        Optional paths to use to resolve the module

      Returns null | string

      The resolved module path, or null if it cannot be found.