• Return the webpack module from a search function

    Type Parameters

    • T = any

    Parameters

    • condition: SearchModuleCondition

      Function for compare the modules

    • reverse: boolean = false

      Search in reverse order

    Returns T | null