• Return the webpack module from a search function

    Type Parameters

    • T = any

    Parameters

    • condition: SearchModuleCondition

      Function for compare the modules

    • Optionalreverse: boolean

      Search in reverse order

    Returns T | null