fix(VirtualUrlPlugin): set resourceData.context to avoid invalid fall… by xiaoxiaojx · Pull Request #20390 · webpack/webpack

Summary
Fixes #20388

What kind of change does this PR introduce?
Fix VirtualUrlPlugin to set resourceData.context for proper module resolution. Previously, when context was not set, it would fallback to the virtual scheme path (e.g., virtual:routes), which is not a valid filesystem path, causing subsequent resolve operations to fail.

Did you add tests for your changes?
Yes

Does this PR introduce a breaking change?
No

If relevant, what needs to be documented once your changes are merged or what have you already documented?
Nothing