Stone.js API
    Preparing search index...
    • Whether a module id is an optional peer the project did not install.

      Used as Rollup's external predicate. Subpaths count (ioredis/cluster), since a package that is absent cannot have resolvable subpaths either.

      Parameters

      • id: string

        The module id Rollup is resolving.

      Returns boolean

      True when the id must be treated as external.