BeforeResolvePluginCondition: allow module filtering as a condition for `BeforeResolvePlugin`s (#8407)
This expands `BeforeResolvePluginCondition` to match on individual
modules rather than just the request string.
Needed for https://github.com/vercel/next.js/pull/66622