replugged

    Function parseReplace

    • Parses and replaces occurrences of the $exports placeholder in the provided input with a string referencing the exports of a plugin identified by the given id.

      Parameters

      • input: string | ((substring: string, ...args: unknown[]) => string)

        The replacement input.

      • id: string

        The ID of the plugin whose exports are being referenced.

      Returns string | ((substring: string, ...args: unknown[]) => string)

      The processed replacement input with $exports replaced by the appropriate plugin exports reference.

    MMNEPVFCICPMFPCPTTAAATR